Skip to content

Commit 3e6cceb

Browse files
committed
Hide chevron if directories don't have subdirs in dashboard
1 parent 613fa47 commit 3e6cceb

File tree

1 file changed

+1
-0
lines changed
  • packages/app/src/app/pages/Dashboard/Sidebar/SandboxesItem/FolderEntry

1 file changed

+1
-0
lines changed

packages/app/src/app/pages/Dashboard/Sidebar/SandboxesItem/FolderEntry/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ class FolderEntry extends React.Component {
197197
<AnimatedChevron
198198
onClick={this.toggleOpen}
199199
open={this.state.open}
200+
style={{ opacity: children.size > 0 ? 1 : 0 }}
200201
/>
201202
<FolderIcon />
202203
</IconContainer>{' '}

0 commit comments

Comments
 (0)