forked from FoundKeyGang/FoundKey
client: remove unused code
This commit is contained in:
parent
ba1c4e76b9
commit
57241cdffe
1 changed files with 0 additions and 5 deletions
|
@ -20,7 +20,6 @@
|
||||||
import { defineAsyncComponent, computed, watch } from 'vue';
|
import { defineAsyncComponent, computed, watch } from 'vue';
|
||||||
import * as Acct from 'foundkey-js/built/acct';
|
import * as Acct from 'foundkey-js/built/acct';
|
||||||
import * as foundkey from 'foundkey-js';
|
import * as foundkey from 'foundkey-js';
|
||||||
import { getUserMenu } from '@/scripts/get-user-menu';
|
|
||||||
import { acct as getAcct } from '@/filters/user';
|
import { acct as getAcct } from '@/filters/user';
|
||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
import { useRouter } from '@/router';
|
import { useRouter } from '@/router';
|
||||||
|
@ -60,10 +59,6 @@ watch(() => props.acct, fetchUser, {
|
||||||
immediate: true,
|
immediate: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
function menu(ev) {
|
|
||||||
os.popupMenu(getUserMenu(user), ev.currentTarget ?? ev.target);
|
|
||||||
}
|
|
||||||
|
|
||||||
const headerTabs = $computed(() => [{
|
const headerTabs = $computed(() => [{
|
||||||
key: 'home',
|
key: 'home',
|
||||||
title: i18n.ts.overview,
|
title: i18n.ts.overview,
|
||||||
|
|
Loading…
Reference in a new issue