@dhis2/analytics 24.3.12 → 24.3.14
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,17 @@
|
|
|
1
|
+
## [24.3.14](https://github.com/dhis2/analytics/compare/v24.3.13...v24.3.14) (2023-01-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove required prop from save as dialog ([#1406](https://github.com/dhis2/analytics/issues/1406)) ([f7972b5](https://github.com/dhis2/analytics/commit/f7972b5b3f56fd02a5baa3f32070b4938b81d0cc))
|
|
7
|
+
|
|
8
|
+
## [24.3.13](https://github.com/dhis2/analytics/compare/v24.3.12...v24.3.13) (2022-12-29)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* prevent escaping old name on save as ([#1405](https://github.com/dhis2/analytics/issues/1405)) ([639dc45](https://github.com/dhis2/analytics/commit/639dc45001d0d8b9a0784ffefc96bdbc45271ae3))
|
|
14
|
+
|
|
1
15
|
## [24.3.12](https://github.com/dhis2/analytics/compare/v24.3.11...v24.3.12) (2022-12-22)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -30,7 +30,7 @@ const SaveAsDialog = _ref => {
|
|
|
30
30
|
onClose,
|
|
31
31
|
onSaveAs
|
|
32
32
|
} = _ref;
|
|
33
|
-
const [name, setName] = (0, _react.useState)(object !== null && object !== void 0 && object.displayName || object !== null && object !== void 0 && object.name ? _index.default.t('{{objectName}} (copy)', {
|
|
33
|
+
const [name, setName] = (0, _react.useState)(object !== null && object !== void 0 && object.displayName || object !== null && object !== void 0 && object.name ? _index.default.t('{{- objectName}} (copy)', {
|
|
34
34
|
objectName: object.name
|
|
35
35
|
}) : '');
|
|
36
36
|
const [description, setDescription] = (0, _react.useState)(object === null || object === void 0 ? void 0 : object.description); // the actual API request is done in the app
|
|
@@ -50,7 +50,6 @@ const SaveAsDialog = _ref => {
|
|
|
50
50
|
fileType: (0, _utils.labelForFileType)(type)
|
|
51
51
|
})), /*#__PURE__*/_react.default.createElement(_ui.ModalContent, null, /*#__PURE__*/_react.default.createElement(_ui.InputField, {
|
|
52
52
|
label: _index.default.t('Name'),
|
|
53
|
-
required: true,
|
|
54
53
|
value: name,
|
|
55
54
|
onChange: _ref2 => {
|
|
56
55
|
let {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"Name": "Name",
|
|
82
82
|
"Description": "Description",
|
|
83
83
|
"Rename": "Rename",
|
|
84
|
-
"{{objectName}} (copy)": "{{objectName}} (copy)",
|
|
84
|
+
"{{- objectName}} (copy)": "{{- objectName}} (copy)",
|
|
85
85
|
"Save {{fileType}} as": "Save {{fileType}} as",
|
|
86
86
|
"event report": "event report",
|
|
87
87
|
"line list": "line list",
|
|
@@ -11,7 +11,7 @@ export const SaveAsDialog = _ref => {
|
|
|
11
11
|
onClose,
|
|
12
12
|
onSaveAs
|
|
13
13
|
} = _ref;
|
|
14
|
-
const [name, setName] = useState(object !== null && object !== void 0 && object.displayName || object !== null && object !== void 0 && object.name ? i18n.t('{{objectName}} (copy)', {
|
|
14
|
+
const [name, setName] = useState(object !== null && object !== void 0 && object.displayName || object !== null && object !== void 0 && object.name ? i18n.t('{{- objectName}} (copy)', {
|
|
15
15
|
objectName: object.name
|
|
16
16
|
}) : '');
|
|
17
17
|
const [description, setDescription] = useState(object === null || object === void 0 ? void 0 : object.description); // the actual API request is done in the app
|
|
@@ -31,7 +31,6 @@ export const SaveAsDialog = _ref => {
|
|
|
31
31
|
fileType: labelForFileType(type)
|
|
32
32
|
})), /*#__PURE__*/React.createElement(ModalContent, null, /*#__PURE__*/React.createElement(InputField, {
|
|
33
33
|
label: i18n.t('Name'),
|
|
34
|
-
required: true,
|
|
35
34
|
value: name,
|
|
36
35
|
onChange: _ref2 => {
|
|
37
36
|
let {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"Name": "Name",
|
|
82
82
|
"Description": "Description",
|
|
83
83
|
"Rename": "Rename",
|
|
84
|
-
"{{objectName}} (copy)": "{{objectName}} (copy)",
|
|
84
|
+
"{{- objectName}} (copy)": "{{- objectName}} (copy)",
|
|
85
85
|
"Save {{fileType}} as": "Save {{fileType}} as",
|
|
86
86
|
"event report": "event report",
|
|
87
87
|
"line list": "line list",
|