X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f62ba0aeff590ef1c57669d4f46e43b5ee169522..416d4f0f57336b2225bcc82b0f4db8873adf8cd2:/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 c6462ea139..94aec140d6 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) {