@rh-support/troubleshoot 0.2.32 → 0.2.33
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,6 +1,6 @@
|
|
|
1
1
|
import { AlertMessage, AlertType, errorMessageTitle, formattedApiErrorMessage } from '@rh-support/components';
|
|
2
2
|
import { GlobalMetadataStateContext } from '@rh-support/react-context';
|
|
3
|
-
import {
|
|
3
|
+
import { getSFDCSecureSupportCaseLink } from '@rh-support/utils';
|
|
4
4
|
import React, { useContext } from 'react';
|
|
5
5
|
import { Trans, useTranslation } from 'react-i18next';
|
|
6
6
|
export function CaseDetailsErrorMessage(props) {
|
|
@@ -18,7 +18,7 @@ export function CaseDetailsErrorMessage(props) {
|
|
|
18
18
|
loggedInUserRights.data.isSecureSupportTech() &&
|
|
19
19
|
status === 403 &&
|
|
20
20
|
message.includes('Account cannot be accessed via this endpoint')) {
|
|
21
|
-
const shCaseLink =
|
|
21
|
+
const shCaseLink = getSFDCSecureSupportCaseLink(props.caseNumber);
|
|
22
22
|
errorMessage403 = (React.createElement(React.Fragment, null,
|
|
23
23
|
"Secured Support Technicians should use",
|
|
24
24
|
' ',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AlertMessage, AlertType } from '@rh-support/components';
|
|
2
2
|
import { GlobalMetadataStateContext } from '@rh-support/react-context';
|
|
3
|
-
import {
|
|
3
|
+
import { getSFDCSecureSupportCaseLink } from '@rh-support/utils';
|
|
4
4
|
import React, { useContext } from 'react';
|
|
5
5
|
import { Trans } from 'react-i18next';
|
|
6
6
|
export function CaseSecureSupportAlert(props) {
|
|
@@ -8,7 +8,7 @@ export function CaseSecureSupportAlert(props) {
|
|
|
8
8
|
const isSecureSupportTechViewingSecureCase = loggedInUserRights.data.isSecureSupportTech() && props.selectedAccountDetails.secureSupport;
|
|
9
9
|
const getWarningMsg = () => {
|
|
10
10
|
if (isSecureSupportTechViewingSecureCase) {
|
|
11
|
-
const shCaseLink =
|
|
11
|
+
const shCaseLink = getSFDCSecureSupportCaseLink(props.caseNumber);
|
|
12
12
|
return (React.createElement(React.Fragment, null,
|
|
13
13
|
"Secured Support Technicians should use",
|
|
14
14
|
' ',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.33",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"@progress/kendo-drawing": "^1.6.0",
|
|
74
74
|
"@progress/kendo-react-pdf": "^3.12.0",
|
|
75
75
|
"@rh-support/api": "0.3.8",
|
|
76
|
-
"@rh-support/components": "1.1.
|
|
77
|
-
"@rh-support/react-context": "0.2.
|
|
76
|
+
"@rh-support/components": "1.1.15",
|
|
77
|
+
"@rh-support/react-context": "0.2.17",
|
|
78
78
|
"@rh-support/types": "0.2.0",
|
|
79
|
-
"@rh-support/user-permissions": "0.2.
|
|
80
|
-
"@rh-support/utils": "0.2.
|
|
79
|
+
"@rh-support/user-permissions": "0.2.11",
|
|
80
|
+
"@rh-support/utils": "0.2.11",
|
|
81
81
|
"@types/react-redux": "^7.1.12",
|
|
82
82
|
"@types/redux": "^3.6.0",
|
|
83
83
|
"@webcomponents/webcomponentsjs": "^2.2.10",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"not ie <= 11",
|
|
143
143
|
"not op_mini all"
|
|
144
144
|
],
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "3dc034eff74761ebe67f6503a13ecf5a1d763071"
|
|
146
146
|
}
|