sccoreui 6.5.35 → 6.5.37
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.
|
@@ -9,6 +9,8 @@ exports.COLUMN_SORT_OPTIONS = [
|
|
|
9
9
|
{ id: 4, label: "Z - A", sortId: 2, dataType: Types_1.FilterDataType.STRING },
|
|
10
10
|
{ id: 5, sortId: 1, label: "Min -Max", dataType: Types_1.FilterDataType.DATE },
|
|
11
11
|
{ id: 6, sortId: 2, label: "Max - Min", dataType: Types_1.FilterDataType.DATE },
|
|
12
|
+
{ id: 7, label: "Low - High", sortId: 1, dataType: Types_1.FilterDataType.CURRENCY },
|
|
13
|
+
{ id: 8, label: "High - Low", sortId: 2, dataType: Types_1.FilterDataType.CURRENCY },
|
|
12
14
|
];
|
|
13
15
|
exports.ROWMODELTYPE = {
|
|
14
16
|
INFINITE: "infinite",
|
|
@@ -117,9 +117,7 @@ function MyProvider({ children, value }) {
|
|
|
117
117
|
}, [defaultSearchText]);
|
|
118
118
|
// Update viewName when defaultViewName changes
|
|
119
119
|
(0, react_1.useEffect)(() => {
|
|
120
|
-
|
|
121
|
-
setViewName(defaultViewName);
|
|
122
|
-
}
|
|
120
|
+
setViewName(defaultViewName || "");
|
|
123
121
|
}, [defaultViewName]);
|
|
124
122
|
// Empty filters and call the grid
|
|
125
123
|
(0, react_1.useEffect)(() => {
|