From 85be83d90988973b417c670ffcf995e1987e1617 Mon Sep 17 00:00:00 2001 From: Jiri Dostal Date: Wed, 21 Jun 2023 15:53:38 +0200 Subject: [PATCH] ESSNTL-4883 - ROS tab not visible in Inventory fix --- package-lock.json | 10 ---------- src/routes/InventoryDetail.js | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5e265f3f1..5edc47d29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4284,11 +4284,6 @@ "axios": "^0.21.1" } }, - "node_modules/@redhat-cloud-services/types": { - "version": "0.0.17", - "resolved": "https://registry.npmjs.org/@redhat-cloud-services/types/-/types-0.0.17.tgz", - "integrity": "sha512-3V9mmarS3jD5fBksMwh+XCEAMUIzqSOxDkH6OcIVu6w/gaBBOWHh34Jwn4CxKlu+WStxVV/rxm3oFGpsWqljvg==" - }, "node_modules/@scalprum/core": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/@scalprum/core/-/core-0.5.1.tgz", @@ -29576,11 +29571,6 @@ "axios": "^0.21.1" } }, - "@redhat-cloud-services/types": { - "version": "0.0.17", - "resolved": "https://registry.npmjs.org/@redhat-cloud-services/types/-/types-0.0.17.tgz", - "integrity": "sha512-3V9mmarS3jD5fBksMwh+XCEAMUIzqSOxDkH6OcIVu6w/gaBBOWHh34Jwn4CxKlu+WStxVV/rxm3oFGpsWqljvg==" - }, "@scalprum/core": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/@scalprum/core/-/core-0.5.1.tgz", diff --git a/src/routes/InventoryDetail.js b/src/routes/InventoryDetail.js index 2cbb356de..e4b852b49 100644 --- a/src/routes/InventoryDetail.js +++ b/src/routes/InventoryDetail.js @@ -88,7 +88,7 @@ const Inventory = () => { const writePermissions = useWritePermissions(); const entityLoaded = useSelector(({ entityDetails }) => entityDetails?.loaded); const entity = useSelector(({ entityDetails }) => entityDetails?.entity); - const { cloudProvider, host_type: hostType } = useSelector( + const { cloud_provider: cloudProvider, host_type: hostType } = useSelector( ({ systemProfileStore }) => systemProfileStore?.systemProfile || [] ); const availableApps = useMemo(() => appList.map((app) => app.name === 'ros' ? {