@vuu-ui/vuu-table 0.8.14-debug → 0.8.15-debug
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/cjs/index.js +0 -20
- package/cjs/index.js.map +2 -2
- package/esm/index.js +0 -20
- package/esm/index.js.map +2 -2
- package/package.json +9 -9
package/cjs/index.js
CHANGED
|
@@ -673,26 +673,6 @@ var buildContextMenuDescriptors = (dataSource) => (location, options) => {
|
|
|
673
673
|
label: `DataGrid Settings`,
|
|
674
674
|
options
|
|
675
675
|
});
|
|
676
|
-
} else if (location === "filter") {
|
|
677
|
-
const { column, filter } = options;
|
|
678
|
-
const colIsOnlyFilter = (filter == null ? void 0 : filter.column) === (column == null ? void 0 : column.name);
|
|
679
|
-
descriptors.push({
|
|
680
|
-
label: "Edit filter",
|
|
681
|
-
action: "filter-edit",
|
|
682
|
-
options
|
|
683
|
-
});
|
|
684
|
-
descriptors.push({
|
|
685
|
-
label: "Remove filter",
|
|
686
|
-
action: "filter-remove-column",
|
|
687
|
-
options
|
|
688
|
-
});
|
|
689
|
-
if (column && !colIsOnlyFilter) {
|
|
690
|
-
descriptors.push({
|
|
691
|
-
label: `Remove all filters`,
|
|
692
|
-
action: "remove-filters",
|
|
693
|
-
options
|
|
694
|
-
});
|
|
695
|
-
}
|
|
696
676
|
}
|
|
697
677
|
return descriptors;
|
|
698
678
|
};
|