From 85d16a25a2ee0ec6ab11117cdb25c845057f118f Mon Sep 17 00:00:00 2001 From: EvansA Date: Wed, 18 May 2022 08:54:38 +0300 Subject: [PATCH] Show isolated resources (#1741) --- src/app/views/sidebar/resource-explorer/ResourceExplorer.tsx | 2 +- src/app/views/sidebar/resource-explorer/ResourceLink.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/views/sidebar/resource-explorer/ResourceExplorer.tsx b/src/app/views/sidebar/resource-explorer/ResourceExplorer.tsx index a650b17c2..8139b1e5e 100644 --- a/src/app/views/sidebar/resource-explorer/ResourceExplorer.tsx +++ b/src/app/views/sidebar/resource-explorer/ResourceExplorer.tsx @@ -108,7 +108,7 @@ const unstyledResourceExplorer = (props: any) => { const isolateTree = (navLink: any): void => { const tree = [ { - isExpanded: false, + isExpanded: true, links: navLink.links } ]; diff --git a/src/app/views/sidebar/resource-explorer/ResourceLink.tsx b/src/app/views/sidebar/resource-explorer/ResourceLink.tsx index 1f5ea7751..9ea6d4710 100644 --- a/src/app/views/sidebar/resource-explorer/ResourceLink.tsx +++ b/src/app/views/sidebar/resource-explorer/ResourceLink.tsx @@ -24,7 +24,7 @@ const ResourceLink = (props: IResourceLinkProps) => { const iconButtonStyles = { - root: { paddingBottom: 10, marginTop: -5, marginRight: 2 }, + root: { marginTop: -5, marginRight: 2 }, menuIcon: { fontSize: 20, padding: 5 } };