@dhis2/analytics 21.0.2 → 21.0.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
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [21.0.3](https://github.com/dhis2/analytics/compare/v21.0.2...v21.0.3) (2021-11-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* use loading state instead of disabling subscribe button ([#1088](https://github.com/dhis2/analytics/issues/1088)) ([10f407b](https://github.com/dhis2/analytics/commit/10f407bfaf4aa016668b5591e663ccabfbf9f9f1))
|
|
7
|
+
|
|
1
8
|
## [21.0.2](https://github.com/dhis2/analytics/compare/v21.0.1...v21.0.2) (2021-11-18)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -203,7 +203,7 @@ const AboutAOUnit = ({
|
|
|
203
203
|
}),
|
|
204
204
|
secondary: true,
|
|
205
205
|
small: true,
|
|
206
|
-
|
|
206
|
+
loading: unsubscribeIsLoading,
|
|
207
207
|
onClick: unsubscribe
|
|
208
208
|
}, _d2I18n.default.t('Unsubscribe'))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("p", {
|
|
209
209
|
className: "jsx-".concat(_AboutAOUnit.default.__hash) + " " + "subscriptionLabel"
|
|
@@ -213,7 +213,7 @@ const AboutAOUnit = ({
|
|
|
213
213
|
}),
|
|
214
214
|
secondary: true,
|
|
215
215
|
small: true,
|
|
216
|
-
|
|
216
|
+
loading: subscribeIsLoading,
|
|
217
217
|
onClick: subscribe
|
|
218
218
|
}, _d2I18n.default.t('Subscribe')))))), /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
219
219
|
id: _AboutAOUnit.default.__hash
|
|
@@ -180,7 +180,7 @@ const AboutAOUnit = ({
|
|
|
180
180
|
}),
|
|
181
181
|
secondary: true,
|
|
182
182
|
small: true,
|
|
183
|
-
|
|
183
|
+
loading: unsubscribeIsLoading,
|
|
184
184
|
onClick: unsubscribe
|
|
185
185
|
}, i18n.t('Unsubscribe'))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("p", {
|
|
186
186
|
className: "jsx-".concat(styles.__hash) + " " + "subscriptionLabel"
|
|
@@ -190,7 +190,7 @@ const AboutAOUnit = ({
|
|
|
190
190
|
}),
|
|
191
191
|
secondary: true,
|
|
192
192
|
small: true,
|
|
193
|
-
|
|
193
|
+
loading: subscribeIsLoading,
|
|
194
194
|
onClick: subscribe
|
|
195
195
|
}, i18n.t('Subscribe')))))), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
196
196
|
id: styles.__hash
|