cozy-harvest-lib 32.2.18 → 32.2.19
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,18 @@
|
|
|
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
|
+
## [32.2.19](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@32.2.18...cozy-harvest-lib@32.2.19) (2025-01-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Allow multiple accounts to server konnectors ([0c3b2bf](https://github.com/cozy/cozy-libs/commit/0c3b2bffb5d61b59f411021b99bbbc68c36fc4c9))
|
|
12
|
+
* Correct path associated to the Add Account button ([d8c53fe](https://github.com/cozy/cozy-libs/commit/d8c53fe1d10bf4c22c2bb7b716709b2a9466da9f))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [32.2.18](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@32.2.17...cozy-harvest-lib@32.2.18) (2025-01-22)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package cozy-harvest-lib
|
|
@@ -41,8 +41,8 @@ var InternalRoutes = function InternalRoutes(_ref) {
|
|
|
41
41
|
accountId: params.accountId,
|
|
42
42
|
accountsAndTriggers: accountsAndTriggers,
|
|
43
43
|
onDismiss: onDismiss,
|
|
44
|
-
showNewAccountButton: flag('clisk.multi-accounts'),
|
|
45
|
-
showAccountSelection: flag('clisk.multi-accounts'),
|
|
44
|
+
showNewAccountButton: !konnectorWithTriggers.clientSide || flag('clisk.multi-accounts'),
|
|
45
|
+
showAccountSelection: !konnectorWithTriggers.clientSide || flag('clisk.multi-accounts'),
|
|
46
46
|
Component: DataTab
|
|
47
47
|
});
|
|
48
48
|
})
|
|
@@ -54,8 +54,8 @@ var InternalRoutes = function InternalRoutes(_ref) {
|
|
|
54
54
|
accountId: params.accountId,
|
|
55
55
|
accountsAndTriggers: accountsAndTriggers,
|
|
56
56
|
onDismiss: onDismiss,
|
|
57
|
-
showNewAccountButton: flag('clisk.multi-accounts'),
|
|
58
|
-
showAccountSelection: flag('clisk.multi-accounts'),
|
|
57
|
+
showNewAccountButton: !konnectorWithTriggers.clientSide || flag('clisk.multi-accounts'),
|
|
58
|
+
showAccountSelection: !konnectorWithTriggers.clientSide || flag('clisk.multi-accounts'),
|
|
59
59
|
Component: ConfigurationTab
|
|
60
60
|
});
|
|
61
61
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-harvest-lib",
|
|
3
|
-
"version": "32.2.
|
|
3
|
+
"version": "32.2.19",
|
|
4
4
|
"description": "Provides logic, modules and components for Cozy's harvest applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"cozy-realtime": "^5.6.3",
|
|
76
76
|
"cozy-tsconfig": "^1.8.1",
|
|
77
77
|
"cozy-ui": "^115.0.2",
|
|
78
|
-
"cozy-viewer": "^13.3.
|
|
78
|
+
"cozy-viewer": "^13.3.2",
|
|
79
79
|
"enzyme": "3.11.0",
|
|
80
80
|
"enzyme-adapter-react-16": "1.15.6",
|
|
81
81
|
"form-data": "4.0.0",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"react-router-dom": ">=6.14.2"
|
|
112
112
|
},
|
|
113
113
|
"sideEffects": false,
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "c10a95f73b893900ac41cdbcddc7fdd65698fb46"
|
|
115
115
|
}
|
|
@@ -169,7 +169,7 @@ export class AccountModal extends Component {
|
|
|
169
169
|
account={account}
|
|
170
170
|
onAccountDeleted={onDismiss}
|
|
171
171
|
addAccount={() => {
|
|
172
|
-
navigate('new', { replace: true })
|
|
172
|
+
navigate('../new', { replace: true })
|
|
173
173
|
}}
|
|
174
174
|
showNewAccountButton={showNewAccountButton}
|
|
175
175
|
intentsApi={intentsApi}
|
|
@@ -56,8 +56,14 @@ const InternalRoutes = ({
|
|
|
56
56
|
accountId={params.accountId}
|
|
57
57
|
accountsAndTriggers={accountsAndTriggers}
|
|
58
58
|
onDismiss={onDismiss}
|
|
59
|
-
showNewAccountButton={
|
|
60
|
-
|
|
59
|
+
showNewAccountButton={
|
|
60
|
+
!konnectorWithTriggers.clientSide ||
|
|
61
|
+
flag('clisk.multi-accounts')
|
|
62
|
+
}
|
|
63
|
+
showAccountSelection={
|
|
64
|
+
!konnectorWithTriggers.clientSide ||
|
|
65
|
+
flag('clisk.multi-accounts')
|
|
66
|
+
}
|
|
61
67
|
Component={DataTab}
|
|
62
68
|
/>
|
|
63
69
|
)}
|
|
@@ -75,8 +81,14 @@ const InternalRoutes = ({
|
|
|
75
81
|
accountId={params.accountId}
|
|
76
82
|
accountsAndTriggers={accountsAndTriggers}
|
|
77
83
|
onDismiss={onDismiss}
|
|
78
|
-
showNewAccountButton={
|
|
79
|
-
|
|
84
|
+
showNewAccountButton={
|
|
85
|
+
!konnectorWithTriggers.clientSide ||
|
|
86
|
+
flag('clisk.multi-accounts')
|
|
87
|
+
}
|
|
88
|
+
showAccountSelection={
|
|
89
|
+
!konnectorWithTriggers.clientSide ||
|
|
90
|
+
flag('clisk.multi-accounts')
|
|
91
|
+
}
|
|
80
92
|
Component={ConfigurationTab}
|
|
81
93
|
/>
|
|
82
94
|
)}
|