@rh-support/react-context 2.5.290 → 2.5.291

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.
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalMetadataHelpers.d.ts","sourceRoot":"","sources":["../../../src/reducers/GlobalMetadataHelpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,eAAO,MAAM,qBAAqB,GAAI,WAAW,MAAM,EAAE,KAAG,MAAM,EAUjE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,WAAW,SAAS,EAAE,KAAG,MAAM,EAMvD,CAAC"}
1
+ {"version":3,"file":"GlobalMetadataHelpers.d.ts","sourceRoot":"","sources":["../../../src/reducers/GlobalMetadataHelpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,eAAO,MAAM,qBAAqB,GAAI,WAAW,MAAM,EAAE,KAAG,MAAM,EAMjE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,WAAW,SAAS,EAAE,KAAG,MAAM,EAMvD,CAAC"}
@@ -1,11 +1,7 @@
1
1
  import isEmpty from 'lodash/isEmpty';
2
2
  export const getProcessedCaseTypes = (caseTypes) => {
3
- // move 'Other' to the end
4
- caseTypes = caseTypes.filter((caseType) => {
5
- if (caseType !== 'Other') {
6
- return caseType;
7
- }
8
- });
3
+ // Excluding Proactive from Support type options; move Other to the end
4
+ caseTypes = caseTypes.filter((caseType) => caseType !== 'Other' && caseType !== 'Proactive');
9
5
  caseTypes.push('Other');
10
6
  return caseTypes;
11
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/react-context",
3
- "version": "2.5.290",
3
+ "version": "2.5.291",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -36,10 +36,10 @@
36
36
  "@cee-eng/hydrajs": "^4.18.114",
37
37
  "@patternfly/react-core": "6.2.1",
38
38
  "@patternfly/react-icons": "6.2.1",
39
- "@rh-support/components": "2.5.196",
39
+ "@rh-support/components": "2.5.197",
40
40
  "@rh-support/types": "2.0.26",
41
- "@rh-support/user-permissions": "2.5.142",
42
- "@rh-support/utils": "2.5.124",
41
+ "@rh-support/user-permissions": "2.5.143",
42
+ "@rh-support/utils": "2.5.125",
43
43
  "i18next": "^23.15.0",
44
44
  "localforage": "^1.10.0",
45
45
  "lodash": "^4.17.21",
@@ -91,5 +91,5 @@
91
91
  "defaults and supports es6-module",
92
92
  "maintained node versions"
93
93
  ],
94
- "gitHead": "907d40a56d025100127fb157061424ff1c934e2d"
94
+ "gitHead": "9cea9a2616441250565764bd5ce541d4103cc9b4"
95
95
  }