@rh-support/troubleshoot 2.6.251 → 2.6.256
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.
|
@@ -354,7 +354,7 @@ function TroubleshootSection(props) {
|
|
|
354
354
|
React.createElement("button", { onClick: props.onSeeMoreResources, className: "btn btn-app btn-primary main-nav-button", type: "button", disabled: isFunctionalCookieAccepted() &&
|
|
355
355
|
props.aiServicesAvailable &&
|
|
356
356
|
!aiResponseState.hasChunkReceived &&
|
|
357
|
-
!aiResponseState.error }, t('See more resources')))) : isCaseCreate ? (React.createElement("span", null,
|
|
357
|
+
!aiResponseState.error }, isFunctionalCookieAccepted() ? t('See more resources') : t('Continue')))) : isCaseCreate ? (React.createElement("span", null,
|
|
358
358
|
React.createElement(Trans, { i18nKey: "<span>Return to</span> <button>case creation</button>", components: {
|
|
359
359
|
span: React.createElement("span", { className: "return-to-case-text" }),
|
|
360
360
|
button: (React.createElement(Button, { className: "return-to-case-btn", variant: "link", component: "a", onClick: () => props.setIsAIChatMode(false) })),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardNavigation.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAmE,MAAM,OAAO,CAAC;AAExF,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAUvD,OAAO,EAAoB,eAAe,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAM3G,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACzD,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACzD,UAAU,EAAE,OAAO,CAAC,qBAAqB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AAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAGD,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAobtC;kBApbQ,gBAAgB;;;AAsbzB,eAAe,gBAAgB,CAAC"}
|
|
@@ -276,7 +276,9 @@ function WizardNavigation(props) {
|
|
|
276
276
|
}
|
|
277
277
|
return false;
|
|
278
278
|
};
|
|
279
|
-
const shouldShowNewARHFlowFooterButtons = isVariationA &&
|
|
279
|
+
const shouldShowNewARHFlowFooterButtons = isVariationA &&
|
|
280
|
+
(props.isAIChatMode || !isFunctionalCookieAccepted()) &&
|
|
281
|
+
activeSection === AppRouteSections.RESOURCES;
|
|
280
282
|
const shouldShowBackToAIButton = isVariationA && !props.isAIChatMode && activeSection === AppRouteSections.RESOURCES;
|
|
281
283
|
// To handle entitled products
|
|
282
284
|
return (React.createElement(React.Fragment, null,
|
|
@@ -286,7 +288,7 @@ function WizardNavigation(props) {
|
|
|
286
288
|
React.createElement("button", { onClick: props.onSeeMoreResources, className: "btn btn-app btn-primary main-nav-button", type: "button", disabled: isFunctionalCookieAccepted() &&
|
|
287
289
|
props.aiServicesAvailable &&
|
|
288
290
|
!aiResponseState.hasChunkReceived &&
|
|
289
|
-
!aiResponseState.error }, t('See more resources')))) : props.isAIChatMode && activeSection === AppRouteSections.RESOURCES ? (isCaseCreate ? (React.createElement("span", null,
|
|
291
|
+
!aiResponseState.error }, isFunctionalCookieAccepted() ? t('See more resources') : t('Continue')))) : props.isAIChatMode && activeSection === AppRouteSections.RESOURCES ? (isCaseCreate ? (React.createElement("span", null,
|
|
290
292
|
React.createElement(Trans, { i18nKey: "<span>Return to</span> <button>case creation</button>", components: {
|
|
291
293
|
span: React.createElement("span", { className: "return-to-case-text" }),
|
|
292
294
|
button: (React.createElement(Button, { className: "return-to-case-btn", variant: "link", component: "a", onClick: props.onReturnToCaseCreation })),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.256",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -129,5 +129,5 @@
|
|
|
129
129
|
"defaults and supports es6-module",
|
|
130
130
|
"maintained node versions"
|
|
131
131
|
],
|
|
132
|
-
"gitHead": "
|
|
132
|
+
"gitHead": "e3504a1c037930b78d20af853e6d688c5b1c0074"
|
|
133
133
|
}
|