@rh-support/troubleshoot 1.0.47-beta.56 → 1.0.47-beta.57

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.
@@ -140,7 +140,7 @@ export function CaseDetailsAside(props) {
140
140
  ToastNotification.addSuccessMessage(t('Successfully set the default case view'), React.createElement("p", null,
141
141
  React.createElement(Trans, null,
142
142
  "You can view these settings in ",
143
- React.createElement(Link, { to: '/cases/#/manage/preferences' }, "Preferences"))));
143
+ React.createElement(Link, { to: '/manage/preferences' }, "Preferences"))));
144
144
  }
145
145
  catch (error) {
146
146
  console.log(error);
@@ -36,5 +36,5 @@ export function Hostname(props) {
36
36
  React.createElement("strong", null, "private"),
37
37
  ". Red Hat does not have access to view hostnames unless you",
38
38
  ' ',
39
- React.createElement(Link, { to: '/cases/#/manage/preferences' }, "choose to share")))));
39
+ React.createElement(Link, { to: '/manage/preferences' }, "choose to share")))));
40
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SubmitCase.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/SubmitCase.tsx"],"names":[],"mappings":"AA2BA,MAAM,CAAC,OAAO,UAAU,UAAU,gBAiRjC"}
1
+ {"version":3,"file":"SubmitCase.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/SubmitCase.tsx"],"names":[],"mappings":"AA2BA,MAAM,CAAC,OAAO,UAAU,UAAU,gBAsRjC"}
@@ -80,6 +80,10 @@ export default function SubmitCase() {
80
80
  const viewDisabled = isEmpty(attachmentState.caseFiles.selectedLocalFiles)
81
81
  ? false
82
82
  : attachmentState.caseFiles.selectedLocalFiles.every((localFile) => !isUploadedAndAnalyzed(localFile));
83
+ console.log('TC', !isEmpty(topContent.data));
84
+ console.log('CR', !clusterRecommendations);
85
+ console.log('Idea', isIdea);
86
+ console.log('Rules', !rulesState.EARules.rules);
83
87
  return (React.createElement(React.Fragment, null,
84
88
  React.createElement(AlertMessage, { className: "push-top", title: t('Failed to add user.'), variant: AlertType.DANGER, show: addNotifiedUserError }),
85
89
  React.createElement(AlertMessage, { className: "push-top", variant: AlertType.DANGER, show: caseCreationError, title: t("Sorry, we're experiencing an error"), isInline: true },
@@ -138,7 +142,7 @@ export default function SubmitCase() {
138
142
  (!isEmpty(topContent.data) ||
139
143
  !rulesState.EARules.rules ||
140
144
  !clusterRecommendations ||
141
- !isIdea) && (React.createElement(Text, { className: "pf-u-mt-2xl pf-u-font-weight-light", component: TextVariants.h2 },
145
+ isIdea) && (React.createElement(Text, { className: "pf-u-mt-2xl pf-u-font-weight-light", component: TextVariants.h2 },
142
146
  React.createElement(Trans, null, "Troubleshoot this case"))),
143
147
  React.createElement("div", { className: isIdea ? 'pf-u-mt-lg' : '' },
144
148
  React.createElement(InsightsResults, { isDisplayOnMain: true })),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/troubleshoot",
3
- "version": "1.0.47-beta.56",
3
+ "version": "1.0.47-beta.57",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -145,5 +145,5 @@
145
145
  "not ie <= 11",
146
146
  "not op_mini all"
147
147
  ],
148
- "gitHead": "839c73ae4f6fa132eb0672559ce0542f62bb903b"
148
+ "gitHead": "7825e526f0f028cd798d13b0f308c6121ec4940c"
149
149
  }