20487: Use === instead of ==
[arvados-workbench2.git] / src / components / collection-panel-files / collection-panel-files.tsx
index 4896641b19aaf649773a38513dab31b3c9837e24..ddf30364ad9c76f09f006d33035d407255d20f7b 100644 (file)
@@ -261,7 +261,7 @@ export const CollectionPanelFiles = withStyles(styles)(connect((state: RootState
     const rightData = pathData[rightKey];
 
     React.useEffect(() => {
-        if (props.currentItemUuid && extractUuidKind(props.currentItemUuid) == ResourceKind.COLLECTION) {
+        if (props.currentItemUuid && extractUuidKind(props.currentItemUuid) === ResourceKind.COLLECTION) {
             setPathData({});
             setPath([props.currentItemUuid]);
         }