@redhat-cloud-services/frontend-components-advisor-components 1.0.7 → 1.0.8
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.
|
@@ -20,8 +20,8 @@ var types_1 = require("../types");
|
|
|
20
20
|
var ViewAffectedLink = function (_a) {
|
|
21
21
|
var messages = _a.messages, product = _a.product, rule = _a.rule, Link = _a.linkComponent;
|
|
22
22
|
return ((0, jsx_runtime_1.jsx)(react_1.default.Fragment, { children: product === types_1.AdvisorProduct.ocp
|
|
23
|
-
? rule.impacted_clusters_count > 0 && ((0, jsx_runtime_1.jsx)(Link, __assign({ to: "/recommendations/".concat(rule.rule_id) }, { children: messages.viewAffectedClusters }), "".concat(rule.rule_id, "-link")))
|
|
24
|
-
: rule.impacted_systems_count > 0 && ((0, jsx_runtime_1.jsx)(Link, __assign({ to: "/recommendations/".concat(rule.rule_id) }, { children: messages.viewAffectedSystems }), "".concat(rule.rule_id, "-link"))) }));
|
|
23
|
+
? rule.impacted_clusters_count > 0 && ((0, jsx_runtime_1.jsx)(Link, __assign({ to: "/openshift/insights/advisor/recommendations/".concat(rule.rule_id) }, { children: messages.viewAffectedClusters }), "".concat(rule.rule_id, "-link")))
|
|
24
|
+
: rule.impacted_systems_count > 0 && ((0, jsx_runtime_1.jsx)(Link, __assign({ to: "/openshift/insights/advisor/recommendations/".concat(rule.rule_id) }, { children: messages.viewAffectedSystems }), "".concat(rule.rule_id, "-link"))) }));
|
|
25
25
|
};
|
|
26
26
|
exports.default = ViewAffectedLink;
|
|
27
27
|
//# sourceMappingURL=ViewAffectedLink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewAffectedLink.js","sourceRoot":"","sources":["../src/ViewAffectedLink/ViewAffectedLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAG1B,kCAA2E;AAS3E,IAAM,gBAAgB,GAAoC,UAAC,EAAgD;QAA9C,QAAQ,cAAA,EAAE,OAAO,aAAA,EAAE,IAAI,UAAA,EAAiB,IAAI,mBAAA;IAAO,OAAA,CAC9G,uBAAC,eAAK,CAAC,QAAQ,cACZ,OAAO,KAAK,sBAAc,CAAC,GAAG;YAC7B,CAAC,CAAE,IAAuB,CAAC,uBAAuB,GAAG,CAAC,IAAI,CACtD,uBAAC,IAAI,aAA8B,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"ViewAffectedLink.js","sourceRoot":"","sources":["../src/ViewAffectedLink/ViewAffectedLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAG1B,kCAA2E;AAS3E,IAAM,gBAAgB,GAAoC,UAAC,EAAgD;QAA9C,QAAQ,cAAA,EAAE,OAAO,aAAA,EAAE,IAAI,UAAA,EAAiB,IAAI,mBAAA;IAAO,OAAA,CAC9G,uBAAC,eAAK,CAAC,QAAQ,cACZ,OAAO,KAAK,sBAAc,CAAC,GAAG;YAC7B,CAAC,CAAE,IAAuB,CAAC,uBAAuB,GAAG,CAAC,IAAI,CACtD,uBAAC,IAAI,aAA8B,EAAE,EAAE,sDAA+C,IAAI,CAAC,OAAO,CAAE,gBACjG,QAAQ,CAAC,oBAAoB,KADrB,UAAG,IAAI,CAAC,OAAO,UAAO,CAE1B,CACR;YACH,CAAC,CAAE,IAAwB,CAAC,sBAAsB,GAAG,CAAC,IAAI,CACtD,uBAAC,IAAI,aAA8B,EAAE,EAAE,sDAA+C,IAAI,CAAC,OAAO,CAAE,gBACjG,QAAQ,CAAC,mBAAmB,KADpB,UAAG,IAAI,CAAC,OAAO,UAAO,CAE1B,CACR,GACU,CAClB;AAd+G,CAc/G,CAAC;AAEF,kBAAe,gBAAgB,CAAC"}
|
|
@@ -15,8 +15,8 @@ import { AdvisorProduct } from '../types';
|
|
|
15
15
|
var ViewAffectedLink = function (_a) {
|
|
16
16
|
var messages = _a.messages, product = _a.product, rule = _a.rule, Link = _a.linkComponent;
|
|
17
17
|
return (_jsx(React.Fragment, { children: product === AdvisorProduct.ocp
|
|
18
|
-
? rule.impacted_clusters_count > 0 && (_jsx(Link, __assign({ to: "/recommendations/".concat(rule.rule_id) }, { children: messages.viewAffectedClusters }), "".concat(rule.rule_id, "-link")))
|
|
19
|
-
: rule.impacted_systems_count > 0 && (_jsx(Link, __assign({ to: "/recommendations/".concat(rule.rule_id) }, { children: messages.viewAffectedSystems }), "".concat(rule.rule_id, "-link"))) }));
|
|
18
|
+
? rule.impacted_clusters_count > 0 && (_jsx(Link, __assign({ to: "/openshift/insights/advisor/recommendations/".concat(rule.rule_id) }, { children: messages.viewAffectedClusters }), "".concat(rule.rule_id, "-link")))
|
|
19
|
+
: rule.impacted_systems_count > 0 && (_jsx(Link, __assign({ to: "/openshift/insights/advisor/recommendations/".concat(rule.rule_id) }, { children: messages.viewAffectedSystems }), "".concat(rule.rule_id, "-link"))) }));
|
|
20
20
|
};
|
|
21
21
|
export default ViewAffectedLink;
|
|
22
22
|
//# sourceMappingURL=ViewAffectedLink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewAffectedLink.js","sourceRoot":"","sources":["../../src/ViewAffectedLink/ViewAffectedLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,cAAc,EAAmC,MAAM,UAAU,CAAC;AAS3E,IAAM,gBAAgB,GAAoC,UAAC,EAAgD;QAA9C,QAAQ,cAAA,EAAE,OAAO,aAAA,EAAE,IAAI,UAAA,EAAiB,IAAI,mBAAA;IAAO,OAAA,CAC9G,KAAC,KAAK,CAAC,QAAQ,cACZ,OAAO,KAAK,cAAc,CAAC,GAAG;YAC7B,CAAC,CAAE,IAAuB,CAAC,uBAAuB,GAAG,CAAC,IAAI,CACtD,KAAC,IAAI,aAA8B,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"ViewAffectedLink.js","sourceRoot":"","sources":["../../src/ViewAffectedLink/ViewAffectedLink.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