datajunction-ui 0.0.1-a44 → 0.0.1-a44.dev0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datajunction-ui",
3
- "version": "0.0.1a44",
3
+ "version": "0.0.1-a44.dev0",
4
4
  "description": "DataJunction Metrics Platform UI",
5
5
  "module": "src/index.tsx",
6
6
  "repository": {
@@ -61,7 +61,7 @@ export const DimensionsSelect = ({ cube }) => {
61
61
 
62
62
  // Set the selected cube dimensions if an existing cube is being edited
63
63
  if (cube) {
64
- const currentSelectedDimensionsByGroup = selectedDimensionsByGroup;
64
+ const currentSelectedDimensionsByGroup = {};
65
65
  grouped.forEach(grouping => {
66
66
  const dimensionsInGroup = grouping[1];
67
67
  currentSelectedDimensionsByGroup[dimensionsInGroup[0].node_name] =
@@ -69,7 +69,6 @@ export const MetricsSelect = ({ cube }) => {
69
69
  isMulti
70
70
  isClearable
71
71
  closeMenuOnSelect={false}
72
- isDisabled={!!(values.metrics.length && values.dimensions.length)}
73
72
  />
74
73
  );
75
74
  }