X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/353c39122f1ebbcb47cf5ae4d2ea641b60439614..838af71bfe460c7f5a03121acf8a4d239893cdac:/src/components/tree/tree.tsx

diff --git a/src/components/tree/tree.tsx b/src/components/tree/tree.tsx
index 263249588b..8a56739758 100644
--- a/src/components/tree/tree.tsx
+++ b/src/components/tree/tree.tsx
@@ -141,7 +141,9 @@ export const Tree = withStyles(styles)(
         }
 
         getProperArrowAnimation = (status: string, items: Array<TreeItem<T>>) => {
-            return status === TreeItemStatus.PENDING || (status === TreeItemStatus.LOADED && !items) ? <span /> : <SidePanelRightArrowIcon />;
+            return status === TreeItemStatus.PENDING ||
+            (status === TreeItemStatus.LOADED && !items) || 
+            (status === TreeItemStatus.LOADED && items && items.length === 0) ? <span /> : <SidePanelRightArrowIcon />;
         }
 
         getToggableIconClassNames = (isOpen?: boolean, isActive?: boolean) => {
