From: Lucas Di Pentima Date: Tue, 20 Oct 2020 21:42:30 +0000 (-0300) Subject: 16719: Removes console debug message. X-Git-Tag: 2.1.1~7^2~4 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/d9b30910f8a81ab1c9c860a00ea6c3d580d42051 16719: Removes console debug message. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/src/store/open-in-new-tab/open-in-new-tab.actions.ts b/src/store/open-in-new-tab/open-in-new-tab.actions.ts index 42bdc4cc..17ba7402 100644 --- a/src/store/open-in-new-tab/open-in-new-tab.actions.ts +++ b/src/store/open-in-new-tab/open-in-new-tab.actions.ts @@ -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