@rh-support/cases 1.0.8 → 1.0.10
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.
|
@@ -34,7 +34,7 @@ export function SaveCaseSearchModal({ isModalOpen, modalToggle, isAdding, select
|
|
|
34
34
|
const dispatchToGlobalMetadataReducer = useContext(GlobalMetadataDispatchContext);
|
|
35
35
|
const handleSaveSearchNameChange = (value) => {
|
|
36
36
|
setLocalSavedSearchName(value);
|
|
37
|
-
if (previousBookmarkedSearchesObj[value] && selectedSearchNameToEdit !== value) {
|
|
37
|
+
if (previousBookmarkedSearchesObj[value === null || value === void 0 ? void 0 : value.trim()] && (selectedSearchNameToEdit === null || selectedSearchNameToEdit === void 0 ? void 0 : selectedSearchNameToEdit.trim()) !== (value === null || value === void 0 ? void 0 : value.trim())) {
|
|
38
38
|
setIsDuplicateNameError(true);
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
@@ -70,7 +70,7 @@ export function SaveCaseSearchModal({ isModalOpen, modalToggle, isAdding, select
|
|
|
70
70
|
// need to remove old default search if there is any
|
|
71
71
|
localDefaultChecked && setDefaultSearchToFalse();
|
|
72
72
|
if (isAdding) {
|
|
73
|
-
previousBookmarkedSearchesObj[localSavedSearchName] = {
|
|
73
|
+
previousBookmarkedSearchesObj[localSavedSearchName === null || localSavedSearchName === void 0 ? void 0 : localSavedSearchName.trim()] = {
|
|
74
74
|
filterState: pickBy(filterState.filterInfo, (value) => value.length !== 0),
|
|
75
75
|
sortState: sortInfo,
|
|
76
76
|
type: currentSearchType,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/cases",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"@patternfly/pfe-collapse": "1.12.3",
|
|
52
52
|
"@patternfly/react-core": "4.202.16",
|
|
53
53
|
"@patternfly/react-table": "4.71.16",
|
|
54
|
-
"@rh-support/components": "1.2.
|
|
55
|
-
"@rh-support/react-context": "1.0.
|
|
54
|
+
"@rh-support/components": "1.2.3",
|
|
55
|
+
"@rh-support/react-context": "1.0.4",
|
|
56
56
|
"@rh-support/types": "0.2.0",
|
|
57
|
-
"@rh-support/user-permissions": "1.0.
|
|
58
|
-
"@rh-support/utils": "1.0.
|
|
57
|
+
"@rh-support/user-permissions": "1.0.3",
|
|
58
|
+
"@rh-support/utils": "1.0.2",
|
|
59
59
|
"i18next": "^19.0.1",
|
|
60
60
|
"localforage": "^1.7.3",
|
|
61
61
|
"lodash": "^4.17.21",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"not ie <= 11",
|
|
100
100
|
"not op_mini all"
|
|
101
101
|
],
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "8891e192aa5a3aef7b3b456fed64ef5ad68afa47"
|
|
103
103
|
}
|