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