@rh-support/troubleshoot 2.2.58 → 2.2.59
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.
|
@@ -14,7 +14,7 @@ import { useCaseSelector } from '../../context/CaseContext';
|
|
|
14
14
|
import { ClusterRecommendationsContext } from '../../context/ClusterRecommendationsContext';
|
|
15
15
|
import { RulesStateContext } from '../../context/RulesContext';
|
|
16
16
|
import { TCStateContext } from '../../context/TopContentContext';
|
|
17
|
-
import { getIrtForSLAAndSeverity
|
|
17
|
+
import { getIrtForSLAAndSeverity } from '../../reducers/CaseHelpers';
|
|
18
18
|
import RouteUtils from '../../utils/routeUtils';
|
|
19
19
|
import { AsideResults } from '../Recommendations/AsideResults';
|
|
20
20
|
import ClusterRecommendations from '../Recommendations/ClusterRecommendations';
|
|
@@ -59,13 +59,13 @@ export default function SubmitCase(props) {
|
|
|
59
59
|
};
|
|
60
60
|
const getResponseTimeMessage = (sla, severity) => {
|
|
61
61
|
const irt = getIrtForSLAAndSeverity(sla, severity);
|
|
62
|
-
const ort = getOrtForSLAAndSeverity(sla, severity);
|
|
63
|
-
const finalORT = ort.replace(' or as agreed', '');
|
|
62
|
+
//const ort = getOrtForSLAAndSeverity(sla, severity);
|
|
63
|
+
//const finalORT = ort.replace(' or as agreed', '');
|
|
64
64
|
// when on product version detail doNotShowIRT is true, we don't show Initial Response Time info
|
|
65
65
|
const versionDetail = (versionsDetails === null || versionsDetails === void 0 ? void 0 : versionsDetails.data) && find(versionsDetails.data, (vDetail) => vDetail.name === version);
|
|
66
66
|
return isEmpty(irt || (versionDetail === null || versionDetail === void 0 ? void 0 : versionDetail.doNotShowIRT)) ? (React.createElement(React.Fragment, null)) : (React.createElement(Trans, null,
|
|
67
67
|
"Our initial response time is ",
|
|
68
|
-
React.createElement("strong", null,
|
|
68
|
+
React.createElement("strong", null, irt),
|
|
69
69
|
", or the time specified in your"));
|
|
70
70
|
};
|
|
71
71
|
useEffect(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.59",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -124,5 +124,5 @@
|
|
|
124
124
|
"defaults and supports es6-module",
|
|
125
125
|
"maintained node versions"
|
|
126
126
|
],
|
|
127
|
-
"gitHead": "
|
|
127
|
+
"gitHead": "d52b9ccf062855933cbb1da3dac7f4c6a2694671"
|
|
128
128
|
}
|