cozy-harvest-lib 9.26.7 → 9.26.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [9.26.8](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.26.7...cozy-harvest-lib@9.26.8) (2022-09-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Open oauth window for oauth connectors ([e8293f6](https://github.com/cozy/cozy-libs/commit/e8293f659d3d9bb643fb528b4328885ba451e79e))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [9.26.7](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.26.6...cozy-harvest-lib@9.26.7) (2022-09-06)
7
18
 
8
19
  **Note:** Version bump only for package cozy-harvest-lib
@@ -173,7 +173,7 @@ export var OAuthForm = /*#__PURE__*/function (_PureComponent) {
173
173
  extension: "full",
174
174
  label: t(buttonLabel),
175
175
  onClick: this.handleConnect
176
- }), showOAuthWindow && extraParams && /*#__PURE__*/React.createElement(OAuthWindow, {
176
+ }), showOAuthWindow && (!needExtraParams || extraParams) && /*#__PURE__*/React.createElement(OAuthWindow, {
177
177
  extraParams: extraParams,
178
178
  konnector: konnector,
179
179
  reconnect: reconnect,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-harvest-lib",
3
- "version": "9.26.7",
3
+ "version": "9.26.8",
4
4
  "description": "Provides logic, modules and components for Cozy's harvest applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -90,5 +90,5 @@
90
90
  "react-router-dom": "^5.0.1"
91
91
  },
92
92
  "sideEffects": false,
93
- "gitHead": "0cca4e2d694e0238d7317c3c3558d2ef5d16f52c"
93
+ "gitHead": "cc7470cbd830844cd34130df19bbea8b514aa305"
94
94
  }
@@ -138,7 +138,7 @@ export class OAuthForm extends PureComponent {
138
138
  onClick={this.handleConnect}
139
139
  />
140
140
  )}
141
- {showOAuthWindow && extraParams && (
141
+ {showOAuthWindow && (!needExtraParams || extraParams) && (
142
142
  <OAuthWindow
143
143
  extraParams={extraParams}
144
144
  konnector={konnector}