@rh-support/troubleshoot 2.2.180 → 2.2.181
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":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseOverview/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseOverview/index.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAkD,MAAM,OAAO,CAAC;AA4BvE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,MAAM,qBAigBjD"}
|
|
@@ -8,6 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { Alert, AlertVariant, Button, ButtonVariant, ExpandableSection, Label, ModalVariant, } from '@patternfly/react-core';
|
|
11
|
+
import LockedIcon from '@patternfly/react-icons/dist/js/icons/locked-icon';
|
|
11
12
|
import { ToastNotification, useConfirmation } from '@rh-support/components';
|
|
12
13
|
import { CloseCaseModal, fetchCaseSeverities, fetchCaseTypes, GlobalMetadataDispatchContext, GlobalMetadataStateContext, useCanEditCase, } from '@rh-support/react-context';
|
|
13
14
|
import { AbilityContext, CaseDetailsFields, resourceActions, resources } from '@rh-support/user-permissions';
|
|
@@ -257,9 +258,10 @@ export default function CaseOverview(props) {
|
|
|
257
258
|
canSeeManagedByPartnerFlag && (React.createElement(Label, { className: "push-right-narrow", color: "green" },
|
|
258
259
|
React.createElement(Trans, null, "Managed by a partner"))),
|
|
259
260
|
canSeeInternalFlags && (React.createElement(React.Fragment, null,
|
|
260
|
-
isPrivate
|
|
261
|
-
React.createElement(
|
|
262
|
-
|
|
261
|
+
isPrivate && (React.createElement(Label, { className: "push-right-narrow", color: "red" },
|
|
262
|
+
React.createElement(LockedIcon, { "aria-hidden": true }),
|
|
263
|
+
" ",
|
|
264
|
+
React.createElement(Trans, null, "Private Case"))),
|
|
263
265
|
hotfixRequested && (React.createElement(Label, { className: "push-right-narrow", color: "blue" },
|
|
264
266
|
React.createElement(Trans, null, "Hot fix requested"))),
|
|
265
267
|
hotfixDelivered && (React.createElement(Label, { className: "push-right-narrow", color: "green" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.181",
|
|
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": "66526673b8a34858094195171b3faec5ddd9ff82"
|
|
137
137
|
}
|