@sis-cc/dotstatsuite-components 17.12.0 → 17.12.1

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.
@@ -134,7 +134,7 @@ var dataTransformer = exports.dataTransformer = function dataTransformer(dataNew
134
134
  __index: obsIndex,
135
135
  name: (0, _dotstatsuiteSdmxjs.getRefinedName)(observation),
136
136
  values: _idHidden ? [] : values,
137
- role: isTime ? TIME_PERIOD_ID : R.head(R.propOr([], 'roles', observation))
137
+ role: isTimeDimension ? TIME_PERIOD_ID : R.head(R.propOr([], 'roles', observation))
138
138
  }))(acc.observation),
139
139
  dimensionsLayout: (0, _sdmxData.setAnnotationsLayout)(id, acc.dimensionsLayout)(dimAnnotations)
140
140
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sis-cc/dotstatsuite-components",
3
3
  "description": "Set components based on React.",
4
- "version": "17.12.0",
4
+ "version": "17.12.1",
5
5
  "main": "lib/index.js",
6
6
  "author": "OECD",
7
7
  "license": "MIT",
@@ -131,7 +131,7 @@ export const dataTransformer = (dataNew, options = {}) => {
131
131
  __index: obsIndex,
132
132
  name: getRefinedName(observation),
133
133
  values: _idHidden ? [] : values,
134
- role: isTime
134
+ role: isTimeDimension
135
135
  ? TIME_PERIOD_ID
136
136
  : R.head(R.propOr([], 'roles', observation)),
137
137
  })(acc.observation),