@rh-support/troubleshoot 2.6.88 → 2.6.89
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.
package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NonOrgCaseNotifyeesSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAwB,oBAAoB,EAAY,MAAM,wBAAwB,CAAC;AAE9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,UAAU,MAAO,SAAQ,gBAAgB;IACrC,aAAa,EAAE,oBAAoB,EAAE,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,aAAa,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAC1D,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC1C,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AA+BD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NonOrgCaseNotifyeesSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAwB,oBAAoB,EAAY,MAAM,wBAAwB,CAAC;AAE9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,UAAU,MAAO,SAAQ,gBAAgB;IACrC,aAAa,EAAE,oBAAoB,EAAE,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,aAAa,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAC1D,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC1C,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AA+BD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,qBA8NxD"}
|
|
@@ -82,7 +82,10 @@ export function NonOrgCaseNotifyeesSelector(props) {
|
|
|
82
82
|
const { ssoName } = c, rest = __rest(c, ["ssoName"]);
|
|
83
83
|
return Object.assign({ ssoUsername: ssoName }, rest);
|
|
84
84
|
});
|
|
85
|
-
|
|
85
|
+
const isUsernameAlreadySelected = mappedContacts.some((contact) => props.selectedItems.some((item) => isContact(item) && item.ssoUsername === contact.ssoUsername));
|
|
86
|
+
if (!isUsernameAlreadySelected) {
|
|
87
|
+
(_b = props.onChange) === null || _b === void 0 ? void 0 : _b.call(props, [...mappedContacts]);
|
|
88
|
+
}
|
|
86
89
|
setInputVal('');
|
|
87
90
|
setNotifyeesList([...mappedContacts, { emailAddress: notificationAddress.email }]);
|
|
88
91
|
}
|
|
@@ -94,10 +97,7 @@ export function NonOrgCaseNotifyeesSelector(props) {
|
|
|
94
97
|
((_a = item.emailAddress) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === ((_b = notificationAddress.email) === null || _b === void 0 ? void 0 : _b.toLowerCase());
|
|
95
98
|
});
|
|
96
99
|
if (!isEmailAlreadySelected) {
|
|
97
|
-
const updatedSelection = [
|
|
98
|
-
...props.selectedItems,
|
|
99
|
-
{ emailAddress: notificationAddress.email, caseNumber: '' },
|
|
100
|
-
];
|
|
100
|
+
const updatedSelection = [{ emailAddress: notificationAddress.email, caseNumber: '' }];
|
|
101
101
|
(_c = props.onChange) === null || _c === void 0 ? void 0 : _c.call(props, updatedSelection);
|
|
102
102
|
}
|
|
103
103
|
setInputVal('');
|
|
@@ -631,11 +631,12 @@ pfe-accordion {
|
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
.pf-v6-c-wizard__main,
|
|
634
|
+
.pf-v6-c-wizard__footer,
|
|
634
635
|
.pf-v6-c-wizard__nav {
|
|
635
636
|
z-index: 1 !important;
|
|
636
637
|
}
|
|
637
638
|
|
|
638
|
-
.pf-v6-c-wizard__footer {
|
|
639
|
+
#request-mgmt-escalation-modal .pf-v6-c-wizard__footer {
|
|
639
640
|
z-index: 0 !important;
|
|
640
641
|
}
|
|
641
642
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.89",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"defaults and supports es6-module",
|
|
134
134
|
"maintained node versions"
|
|
135
135
|
],
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "abdf0c87f0db15a5ecf70fe31e835530ca297dbe"
|
|
137
137
|
}
|