Merge branch '17018-readonly-file-actions-fix'
[arvados-workbench2.git] / src / store / open-in-new-tab / open-in-new-tab.actions.ts
index 42bdc4ccfe5c25de8a33e277b0d34a4c81f24b98..17ba740279993029b5e5f197c289ef2af33e625f 100644 (file)
@@ -19,10 +19,7 @@ export const openInNewTabAction = (resource: any) => (dispatch: Dispatch) => {
 
     if (kind === ResourceKind.COLLECTION) {
         dispatch(openInNewTabActions.OPEN_COLLECTION_IN_NEW_TAB(uuid));
-    }
-    if (kind === ResourceKind.PROJECT) {
+    } else if (kind === ResourceKind.PROJECT) {
         dispatch(openInNewTabActions.OPEN_PROJECT_IN_NEW_TAB(uuid));
     }
-
-    console.log(uuid);
 };
\ No newline at end of file