remove unused buttons
This commit is contained in:
parent
07b9757b36
commit
6ba613b4bb
|
@ -2,7 +2,7 @@
|
||||||
<div>
|
<div>
|
||||||
<MkStickyContainer>
|
<MkStickyContainer>
|
||||||
<template #header>
|
<template #header>
|
||||||
<MkPageHeader v-model:tab="headerTab" :actions="headerActions" :tabs="headerTabs"/>
|
<MkPageHeader v-model:tab="headerTab" :tabs="headerTabs"/>
|
||||||
</template>
|
</template>
|
||||||
<XGridLocalComponent v-if="headerTab === 'local'"/>
|
<XGridLocalComponent v-if="headerTab === 'local'"/>
|
||||||
<XGridRemoteComponent v-else/>
|
<XGridRemoteComponent v-else/>
|
||||||
|
@ -16,6 +16,8 @@ import { i18n } from '@/i18n.js';
|
||||||
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
||||||
import XGridLocalComponent from '@/pages/admin/custom-emojis-grid.local.vue';
|
import XGridLocalComponent from '@/pages/admin/custom-emojis-grid.local.vue';
|
||||||
import XGridRemoteComponent from '@/pages/admin/custom-emojis-grid.remote.vue';
|
import XGridRemoteComponent from '@/pages/admin/custom-emojis-grid.remote.vue';
|
||||||
|
import MkPageHeader from '@/components/global/MkPageHeader.vue';
|
||||||
|
import MkStickyContainer from '@/components/global/MkStickyContainer.vue';
|
||||||
|
|
||||||
type PageMode = 'local' | 'remote';
|
type PageMode = 'local' | 'remote';
|
||||||
|
|
||||||
|
@ -29,19 +31,6 @@ const headerTabs = computed(() => [{
|
||||||
title: i18n.ts.remote,
|
title: i18n.ts.remote,
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
const headerActions = computed(() => [{
|
|
||||||
asFullButton: true,
|
|
||||||
icon: 'ti ti-plus',
|
|
||||||
text: i18n.ts.addEmoji,
|
|
||||||
handler: () => {
|
|
||||||
},
|
|
||||||
}, {
|
|
||||||
icon: 'ti ti-dots',
|
|
||||||
text: '',
|
|
||||||
handler: () => {
|
|
||||||
},
|
|
||||||
}]);
|
|
||||||
|
|
||||||
definePageMetadata(computed(() => ({
|
definePageMetadata(computed(() => ({
|
||||||
title: i18n.ts.customEmojis,
|
title: i18n.ts.customEmojis,
|
||||||
icon: 'ti ti-icons',
|
icon: 'ti ti-icons',
|
||||||
|
|
Loading…
Reference in New Issue