@dhis2/analytics 24.3.1 → 24.3.2

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
+ ## [24.3.2](https://github.com/dhis2/analytics/compare/v24.3.1...v24.3.2) (2022-11-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * pass required prop to plugin used in interpretation modal ([#1361](https://github.com/dhis2/analytics/issues/1361)) ([82d6c38](https://github.com/dhis2/analytics/commit/82d6c3877bbb3497ea22e3b01d2f1ac37ed67742))
7
+
1
8
  ## [24.3.1](https://github.com/dhis2/analytics/compare/v24.3.0...v24.3.1) (2022-10-28)
2
9
 
3
10
 
@@ -62,6 +62,8 @@ const query = {
62
62
  };
63
63
 
64
64
  const InterpretationModal = _ref2 => {
65
+ var _currentUser$settings;
66
+
65
67
  let {
66
68
  currentUser,
67
69
  isVisualizationLoading,
@@ -153,6 +155,7 @@ const InterpretationModal = _ref2 => {
153
155
  },
154
156
  visualization: visualization,
155
157
  onResponsesReceived: onResponsesReceived,
158
+ displayProperty: (_currentUser$settings = currentUser.settings) === null || _currentUser$settings === void 0 ? void 0 : _currentUser$settings.keyAnalysisDisplayProperty,
156
159
  className: _style.default.dynamic([["3175860552", [_ui.colors.grey900, _ui.spacers.dp24, _ui.spacers.dp4, _ui.spacers.dp4]]])
157
160
  })), /*#__PURE__*/_react.default.createElement("div", {
158
161
  className: _style.default.dynamic([["3175860552", [_ui.colors.grey900, _ui.spacers.dp24, _ui.spacers.dp4, _ui.spacers.dp4]]]) + " " + "thread-wrap"
@@ -40,6 +40,8 @@ const query = {
40
40
  };
41
41
 
42
42
  const InterpretationModal = _ref2 => {
43
+ var _currentUser$settings;
44
+
43
45
  let {
44
46
  currentUser,
45
47
  isVisualizationLoading,
@@ -131,6 +133,7 @@ const InterpretationModal = _ref2 => {
131
133
  },
132
134
  visualization: visualization,
133
135
  onResponsesReceived: onResponsesReceived,
136
+ displayProperty: (_currentUser$settings = currentUser.settings) === null || _currentUser$settings === void 0 ? void 0 : _currentUser$settings.keyAnalysisDisplayProperty,
134
137
  className: _JSXStyle.dynamic([["3175860552", [colors.grey900, spacers.dp24, spacers.dp4, spacers.dp4]]])
135
138
  })), /*#__PURE__*/React.createElement("div", {
136
139
  className: _JSXStyle.dynamic([["3175860552", [colors.grey900, spacers.dp24, spacers.dp4, spacers.dp4]]]) + " " + "thread-wrap"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/analytics",
3
- "version": "24.3.1",
3
+ "version": "24.3.2",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "exports": {