We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de3b857 commit 04874c3Copy full SHA for 04874c3
src/SmartComponents/SystemDetail/SystemDetail.js
@@ -21,7 +21,7 @@ const SystemDetail = ({ isInventoryApp, inventoryId, shouldRefresh }) => {
21
22
const handleNoSystemData = () => {
23
isInventoryApp && setTabsHidden((prevTabsHidden) => !prevTabsHidden);
24
- return (isInventoryApp && null) || <NotConnected />;
+ return isInventoryApp ? null : <NotConnected />;
25
};
26
27
return (
0 commit comments