From d6e23b803b10a471bb5b1054b357c70a16e8f6da Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 23 Mar 2021 17:30:14 +0900 Subject: refactor: Tweak path alias of client --- src/client/scripts/get-user-menu.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/client/scripts/get-user-menu.ts') diff --git a/src/client/scripts/get-user-menu.ts b/src/client/scripts/get-user-menu.ts index 0e4e4af5d3..87f7bff942 100644 --- a/src/client/scripts/get-user-menu.ts +++ b/src/client/scripts/get-user-menu.ts @@ -1,13 +1,13 @@ import { faAt, faListUl, faEye, faEyeSlash, faBan, faPencilAlt, faComments, faUsers, faMicrophoneSlash, faPlug, faExclamationCircle } from '@fortawesome/free-solid-svg-icons'; import { faSnowflake, faEnvelope } from '@fortawesome/free-regular-svg-icons'; -import { i18n } from '@/i18n'; -import copyToClipboard from '@/scripts/copy-to-clipboard'; -import { host } from '@/config'; +import { i18n } from '@client/i18n'; +import copyToClipboard from '@client/scripts/copy-to-clipboard'; +import { host } from '@client/config'; import getAcct from '../../misc/acct/render'; -import * as os from '@/os'; -import { userActions } from '@/store'; -import { router } from '@/router'; -import { $i } from '@/account'; +import * as os from '@client/os'; +import { userActions } from '@client/store'; +import { router } from '@client/router'; +import { $i } from '@client/account'; export function getUserMenu(user) { const meId = $i ? $i.id : null; @@ -104,7 +104,7 @@ export function getUserMenu(user) { } function reportAbuse() { - os.popup(import('@/components/abuse-report-window.vue'), { + os.popup(import('@client/components/abuse-report-window.vue'), { user: user, }, {}, 'closed'); } -- cgit v1.2.3-freya