X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/044eba18bb2cdc9d3633deef5e91b7eac2a03ac4..f626dd268140b4ef406a2ec0c6568f6ca0298e1d:/src/components/tree/tree.tsx?ds=sidebyside

diff --git a/src/components/tree/tree.tsx b/src/components/tree/tree.tsx
index 0ff7f2d0ea..e24c1443a0 100644
--- a/src/components/tree/tree.tsx
+++ b/src/components/tree/tree.tsx
@@ -44,9 +44,9 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
 });
 
 export enum TreeItemStatus {
-    Initial,
-    Pending,
-    Loaded
+    INITIAL,
+    PENDING,
+    LOADED
 }
 
 export interface TreeItem<T> {
@@ -79,7 +79,7 @@ export const Tree = withStyles(styles)(
                         <ListItem button className={list} style={{ paddingLeft: (level + 1) * 20 }}
                             onClick={() => toggleItemActive(it.id, it.status)}
                             onContextMenu={this.handleRowContextMenu(it)}>
-                            {it.status === TreeItemStatus.Pending ?
+                            {it.status === TreeItemStatus.PENDING ?
                                 <CircularProgress size={10} className={loader} /> : null}
                             <i onClick={() => this.props.toggleItemOpen(it.id, it.status)}
                                 className={toggableIconContainer}>
