@rh-support/manage 2.0.0 → 2.0.3
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":"DefaultGroupSwitch.d.ts","sourceRoot":"","sources":["../../../../../src/components/Groups/DefualtGroupSwitch/DefaultGroupSwitch.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultGroupSwitch.d.ts","sourceRoot":"","sources":["../../../../../src/components/Groups/DefualtGroupSwitch/DefaultGroupSwitch.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAMvF,UAAU,MAAM;IACZ,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,UAAU,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,kBAAkB,UAAW,MAAM,gBA2C/C,CAAC"}
|
|
@@ -34,7 +34,7 @@ export const GroupSelect = (props) => {
|
|
|
34
34
|
: t('Select a group to view accounts');
|
|
35
35
|
const getGroup = useCallback((groupName) => (caseGroups.data || []).find((groupObj) => groupObj.name === groupName), [caseGroups]);
|
|
36
36
|
const confirmation = useConfirmation();
|
|
37
|
-
//
|
|
37
|
+
// Fetch groups on init
|
|
38
38
|
useEffect(() => {
|
|
39
39
|
var _a;
|
|
40
40
|
if (haventLoadedMetadata(caseGroups, (data) => data === undefined))
|
|
@@ -68,7 +68,7 @@ export const GroupSelect = (props) => {
|
|
|
68
68
|
}
|
|
69
69
|
setIsOpen(false);
|
|
70
70
|
};
|
|
71
|
-
//
|
|
71
|
+
// Group actions dropdown state
|
|
72
72
|
const hasGroupPermissions = ability.can(resourceActions.CREATE, resources.CASE_GROUPS);
|
|
73
73
|
const [showDropdown, setShowDropdown] = useState(hasGroupPermissions);
|
|
74
74
|
const [showInput, setShowInput] = useState(false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/manage",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Customer Support Manage App",
|
|
5
5
|
"author": "Jordan Eudy <jeudy100@gmail.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -94,12 +94,12 @@
|
|
|
94
94
|
"@patternfly/pfe-tabs": "1.12.3",
|
|
95
95
|
"@patternfly/react-core": "4.264.0",
|
|
96
96
|
"@patternfly/react-table": "4.111.33",
|
|
97
|
-
"@rh-support/components": "2.0.
|
|
98
|
-
"@rh-support/configs": "2.0.
|
|
99
|
-
"@rh-support/react-context": "2.0.
|
|
100
|
-
"@rh-support/types": "2.0.
|
|
101
|
-
"@rh-support/user-permissions": "2.0.
|
|
102
|
-
"@rh-support/utils": "2.0.
|
|
97
|
+
"@rh-support/components": "2.0.3",
|
|
98
|
+
"@rh-support/configs": "2.0.1",
|
|
99
|
+
"@rh-support/react-context": "2.0.3",
|
|
100
|
+
"@rh-support/types": "2.0.1",
|
|
101
|
+
"@rh-support/user-permissions": "2.0.3",
|
|
102
|
+
"@rh-support/utils": "2.0.3",
|
|
103
103
|
"@types/react-beautiful-dnd": "^13.0.0",
|
|
104
104
|
"i18next": ">=17.0.1",
|
|
105
105
|
"lodash": ">=4.17.15",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"react-i18next": ">=10.11.0",
|
|
110
110
|
"react-router-dom": ">=5.1.2"
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "f8fe7a663c31e0247c25916cdb54c7da7440abb2"
|
|
113
113
|
}
|