Skip to content

Commit

Permalink
enhance(client): メニューの「もっと」からインスタンス情報を見れるように
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo authored and yu256 committed Feb 26, 2023
1 parent 036f2ae commit 7d186c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/client/src/navbar.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { computed, ref, reactive } from 'vue';
import { $i } from './account';
import { search } from '@/scripts/search';
import { openInstanceMenu } from './ui/_common_/common';
import * as os from '@/os';
import { i18n } from '@/i18n';
import { ui } from '@/config';
Expand Down Expand Up @@ -131,6 +132,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: 'reload',
icon: 'ti ti-refresh',
Expand Down

0 comments on commit 7d186c0

Please sign in to comment.