X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/d5b2ea063f46c087ddbfb53ccfc066ecba209c7f..72c96df2084737a996e863ac3efbc714858862a0:/src/store/open-in-new-tab/open-in-new-tab.actions.ts 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 c6462ea1..94aec140 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 @@ -2,12 +2,12 @@ // // SPDX-License-Identifier: AGPL-3.0 -import * as copy from 'copy-to-clipboard'; -import { ResourceKind } from '~/models/resource'; -import { getClipboardUrl } from '~/views-components/context-menu/actions/helpers'; +import copy from 'copy-to-clipboard'; +import { ResourceKind } from 'models/resource'; +import { getClipboardUrl } from 'views-components/context-menu/actions/helpers'; const getUrl = (resource: any) => { - let url = null; + let url: string | null = null; const { uuid, kind } = resource; if (kind === ResourceKind.COLLECTION) {