mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
enhance(client): メニューの「もっと」からインスタンス情報を見れるように
This commit is contained in:
parent
72888b4814
commit
2acdd933c0
@ -1,6 +1,7 @@
|
|||||||
import { computed, reactive } from 'vue';
|
import { computed, reactive } from 'vue';
|
||||||
import { $i } from './account';
|
import { $i } from './account';
|
||||||
import { miLocalStorage } from './local-storage';
|
import { miLocalStorage } from './local-storage';
|
||||||
|
import { openInstanceMenu } from './ui/_common_/common';
|
||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
import { i18n } from '@/i18n';
|
import { i18n } from '@/i18n';
|
||||||
import { ui } from '@/config';
|
import { ui } from '@/config';
|
||||||
@ -121,6 +122,13 @@ export const navbarItemDef = reactive({
|
|||||||
}], ev.currentTarget ?? ev.target);
|
}], ev.currentTarget ?? ev.target);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
about: {
|
||||||
|
title: i18n.ts.about,
|
||||||
|
icon: 'ti ti-info-circle',
|
||||||
|
action: (ev) => {
|
||||||
|
openInstanceMenu(ev);
|
||||||
|
},
|
||||||
|
},
|
||||||
reload: {
|
reload: {
|
||||||
title: i18n.ts.reload,
|
title: i18n.ts.reload,
|
||||||
icon: 'ti ti-refresh',
|
icon: 'ti ti-refresh',
|
||||||
|
Loading…
Reference in New Issue
Block a user