@elliemae/ds-data-table 2.4.5 → 2.4.6
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.
|
@@ -89,7 +89,7 @@ const BaseSelectFilter = props => {
|
|
|
89
89
|
const filterOptions = React.useMemo(() => {
|
|
90
90
|
// If the user didn't provide options, use the available ones
|
|
91
91
|
if (!userFilterOptions) {
|
|
92
|
-
const automaticFilters = [...new Set(data.
|
|
92
|
+
const automaticFilters = [...new Set(data.map(datum => datum?.[id]?.toString()).filter(val => val !== undefined))].map(item => ({
|
|
93
93
|
type: 'option',
|
|
94
94
|
dsId: item,
|
|
95
95
|
value: item,
|
|
@@ -81,7 +81,7 @@ const BaseSelectFilter = props => {
|
|
|
81
81
|
const filterOptions = useMemo(() => {
|
|
82
82
|
// If the user didn't provide options, use the available ones
|
|
83
83
|
if (!userFilterOptions) {
|
|
84
|
-
const automaticFilters = [...new Set(data.
|
|
84
|
+
const automaticFilters = [...new Set(data.map(datum => datum?.[id]?.toString()).filter(val => val !== undefined))].map(item => ({
|
|
85
85
|
type: 'option',
|
|
86
86
|
dsId: item,
|
|
87
87
|
value: item,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-data-table",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Data Table",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -570,24 +570,24 @@
|
|
|
570
570
|
"dependencies": {
|
|
571
571
|
"@dnd-kit/core": "~4.0.1",
|
|
572
572
|
"@dnd-kit/sortable": "~5.0.0",
|
|
573
|
-
"@elliemae/ds-button": "2.4.
|
|
574
|
-
"@elliemae/ds-circular-progress-indicator": "2.4.
|
|
575
|
-
"@elliemae/ds-controlled-form": "2.4.
|
|
576
|
-
"@elliemae/ds-drag-and-drop": "2.4.
|
|
577
|
-
"@elliemae/ds-dropdownmenu": "2.4.
|
|
578
|
-
"@elliemae/ds-form": "2.4.
|
|
579
|
-
"@elliemae/ds-form-layout-blocks": "2.4.
|
|
580
|
-
"@elliemae/ds-grid": "2.4.
|
|
581
|
-
"@elliemae/ds-icons": "2.4.
|
|
582
|
-
"@elliemae/ds-indeterminate-progress-indicator": "2.4.
|
|
583
|
-
"@elliemae/ds-pagination": "2.4.
|
|
584
|
-
"@elliemae/ds-pills": "2.4.
|
|
585
|
-
"@elliemae/ds-popperjs": "2.4.
|
|
586
|
-
"@elliemae/ds-props-helpers": "2.4.
|
|
587
|
-
"@elliemae/ds-system": "2.4.
|
|
588
|
-
"@elliemae/ds-toolbar": "2.4.
|
|
589
|
-
"@elliemae/ds-truncated-tooltip-text": "2.4.
|
|
590
|
-
"@elliemae/ds-utilities": "2.4.
|
|
573
|
+
"@elliemae/ds-button": "2.4.6",
|
|
574
|
+
"@elliemae/ds-circular-progress-indicator": "2.4.6",
|
|
575
|
+
"@elliemae/ds-controlled-form": "2.4.6",
|
|
576
|
+
"@elliemae/ds-drag-and-drop": "2.4.6",
|
|
577
|
+
"@elliemae/ds-dropdownmenu": "2.4.6",
|
|
578
|
+
"@elliemae/ds-form": "2.4.6",
|
|
579
|
+
"@elliemae/ds-form-layout-blocks": "2.4.6",
|
|
580
|
+
"@elliemae/ds-grid": "2.4.6",
|
|
581
|
+
"@elliemae/ds-icons": "2.4.6",
|
|
582
|
+
"@elliemae/ds-indeterminate-progress-indicator": "2.4.6",
|
|
583
|
+
"@elliemae/ds-pagination": "2.4.6",
|
|
584
|
+
"@elliemae/ds-pills": "2.4.6",
|
|
585
|
+
"@elliemae/ds-popperjs": "2.4.6",
|
|
586
|
+
"@elliemae/ds-props-helpers": "2.4.6",
|
|
587
|
+
"@elliemae/ds-system": "2.4.6",
|
|
588
|
+
"@elliemae/ds-toolbar": "2.4.6",
|
|
589
|
+
"@elliemae/ds-truncated-tooltip-text": "2.4.6",
|
|
590
|
+
"@elliemae/ds-utilities": "2.4.6",
|
|
591
591
|
"@reduxjs/toolkit": "~1.6.2",
|
|
592
592
|
"csstype": "~3.0.9",
|
|
593
593
|
"moment": "~2.29.1",
|