@rh-support/manage 2.5.231 → 2.5.233
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.
|
@@ -136,7 +136,7 @@ export const GroupSelect = (props) => {
|
|
|
136
136
|
}
|
|
137
137
|
try {
|
|
138
138
|
const response = yield createGroupMutation(groupName, accountId);
|
|
139
|
-
const createdRecord = response.
|
|
139
|
+
const createdRecord = response.redhat_support_uiapi.CaseGroup__cCreate.RedHatSupportRecord;
|
|
140
140
|
ToastNotification.addSuccessMessage(t('Group has been successfully created'));
|
|
141
141
|
const newGroup = {
|
|
142
142
|
groupNum: createdRecord.Id,
|
|
@@ -245,7 +245,7 @@ export const GroupSelect = (props) => {
|
|
|
245
245
|
}
|
|
246
246
|
try {
|
|
247
247
|
const dupResponse = yield createGroupMutation(input, accountId);
|
|
248
|
-
const dupRecord = dupResponse.
|
|
248
|
+
const dupRecord = dupResponse.redhat_support_uiapi.CaseGroup__cCreate.RedHatSupportRecord;
|
|
249
249
|
const dupGroup = {
|
|
250
250
|
groupNum: dupRecord.Id,
|
|
251
251
|
name: dupRecord.Name.value,
|
|
@@ -28,7 +28,7 @@ export function useCaseGroupMembers() {
|
|
|
28
28
|
variables: { where: { Group__c: { eq: groupId } } },
|
|
29
29
|
fetchPolicy: 'network-only',
|
|
30
30
|
});
|
|
31
|
-
const edges = ((_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.
|
|
31
|
+
const edges = ((_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.redhat_support_uiapi) === null || _a === void 0 ? void 0 : _a.query) === null || _b === void 0 ? void 0 : _b.RedHatSupportCaseGroupMember__c) === null || _c === void 0 ? void 0 : _c.edges) || [];
|
|
32
32
|
const mapped = edges
|
|
33
33
|
.filter(({ node }) => node.Contact__r !== null)
|
|
34
34
|
.map(({ node }) => mapCaseGroupMemberNodeToIGroupUser(node, groupId));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/manage",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.233",
|
|
4
4
|
"description": "Customer Support Manage App",
|
|
5
5
|
"author": "Jordan Eudy <jeudy100@gmail.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
"@patternfly/patternfly": "6.2.1",
|
|
77
77
|
"@patternfly/react-core": "6.2.1",
|
|
78
78
|
"@patternfly/react-table": "6.2.1",
|
|
79
|
-
"@rh-support/components": "2.5.
|
|
79
|
+
"@rh-support/components": "2.5.185",
|
|
80
80
|
"@rh-support/configs": "2.0.75",
|
|
81
|
-
"@rh-support/react-context": "2.5.
|
|
81
|
+
"@rh-support/react-context": "2.5.279",
|
|
82
82
|
"@rh-support/types": "2.0.26",
|
|
83
|
-
"@rh-support/user-permissions": "2.5.
|
|
84
|
-
"@rh-support/utils": "2.5.
|
|
83
|
+
"@rh-support/user-permissions": "2.5.131",
|
|
84
|
+
"@rh-support/utils": "2.5.113",
|
|
85
85
|
"@types/react-beautiful-dnd": "^13.0.0",
|
|
86
86
|
"i18next": "^23.15.0",
|
|
87
87
|
"lodash": ">=4.17.15",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"defaults and supports es6-module",
|
|
101
101
|
"maintained node versions"
|
|
102
102
|
],
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "4e6af2167e2c8cc3a0b949a41f1e82c1b7ca1d0a"
|
|
104
104
|
}
|