cozy-harvest-lib 9.7.2 → 9.7.3
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.7.3](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.7.2...cozy-harvest-lib@9.7.3) (2022-06-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Avoid React error message when not in BI webview mode ([413853d](https://github.com/cozy/cozy-libs/commit/413853da26b5d580f5454d7cf6c6069c3b2880b0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [9.7.2](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@9.7.1...cozy-harvest-lib@9.7.2) (2022-06-07)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package cozy-harvest-lib
|
package/dist/components/KonnectorConfiguration/ConfigurationTab/BiContractActivationWindow.js
CHANGED
|
@@ -112,7 +112,7 @@ var BIContractActivationWindow = function BIContractActivationWindow(_ref) {
|
|
|
112
112
|
handleLinkFetch();
|
|
113
113
|
}
|
|
114
114
|
}, [konnector, account, client, konnectorPolicy]);
|
|
115
|
-
return konnectorPolicy.fetchContractSynchronizationUrl
|
|
115
|
+
return konnectorPolicy.fetchContractSynchronizationUrl ? /*#__PURE__*/React.createElement(ListItem, null, /*#__PURE__*/React.createElement(Button, {
|
|
116
116
|
disabled: !initialUrl,
|
|
117
117
|
onClick: function onClick() {
|
|
118
118
|
return setWindowVisible(true);
|
|
@@ -125,7 +125,7 @@ var BIContractActivationWindow = function BIContractActivationWindow(_ref) {
|
|
|
125
125
|
width: "800",
|
|
126
126
|
height: "800",
|
|
127
127
|
onClose: onPopupClosed
|
|
128
|
-
})));
|
|
128
|
+
}))) : null;
|
|
129
129
|
};
|
|
130
130
|
|
|
131
131
|
BIContractActivationWindow.propTypes = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-harvest-lib",
|
|
3
|
-
"version": "9.7.
|
|
3
|
+
"version": "9.7.3",
|
|
4
4
|
"description": "Provides logic, modules and components for Cozy's harvest applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"react-router-dom": "^5.0.1"
|
|
88
88
|
},
|
|
89
89
|
"sideEffects": false,
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "0799b1fe4a2585784f81996457afa350482d4e35"
|
|
91
91
|
}
|
package/src/components/KonnectorConfiguration/ConfigurationTab/BiContractActivationWindow.jsx
CHANGED
|
@@ -47,7 +47,7 @@ const BIContractActivationWindow = ({ konnector, account, t }) => {
|
|
|
47
47
|
}, [konnector, account, client, konnectorPolicy])
|
|
48
48
|
|
|
49
49
|
return (
|
|
50
|
-
konnectorPolicy.fetchContractSynchronizationUrl
|
|
50
|
+
konnectorPolicy.fetchContractSynchronizationUrl ? (
|
|
51
51
|
<ListItem>
|
|
52
52
|
<Button disabled={!initialUrl} onClick={() => setWindowVisible(true)}>
|
|
53
53
|
{t('contracts.handle-synchronization')}
|
|
@@ -64,7 +64,7 @@ const BIContractActivationWindow = ({ konnector, account, t }) => {
|
|
|
64
64
|
/>
|
|
65
65
|
))}
|
|
66
66
|
</ListItem>
|
|
67
|
-
)
|
|
67
|
+
) : null
|
|
68
68
|
)
|
|
69
69
|
}
|
|
70
70
|
|