mirror of
https://github.com/sim1222/misskey.git
synced 2025-04-29 02:37:22 +09:00
モデレーターがコントロールパネル開いたとき、Settingsが表示されないように
This commit is contained in:
parent
72983ff9e1
commit
d20b109d61
@ -24,6 +24,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { defineAsyncComponent, inject, nextTick, onMounted, onUnmounted, provide, watch } from 'vue';
|
||||
import { $i } from '../../account';
|
||||
import { i18n } from '@/i18n';
|
||||
import MkSuperMenu from '@/components/MkSuperMenu.vue';
|
||||
import MkInfo from '@/components/MkInfo.vue';
|
||||
@ -137,7 +138,7 @@ const menuDef = $computed(() => [{
|
||||
to: '/admin/abuses',
|
||||
active: currentPage?.route.name === 'abuses',
|
||||
}],
|
||||
}, {
|
||||
}, ...($i?.isAdmin ? [{
|
||||
title: i18n.ts.settings,
|
||||
items: [{
|
||||
icon: 'fas fa-cog',
|
||||
@ -185,7 +186,7 @@ const menuDef = $computed(() => [{
|
||||
to: '/admin/other-settings',
|
||||
active: currentPage?.route.name === 'other-settings',
|
||||
}],
|
||||
}, {
|
||||
}] : []), {
|
||||
title: i18n.ts.info,
|
||||
items: [{
|
||||
icon: 'fas fa-database',
|
||||
|
Loading…
x
Reference in New Issue
Block a user