From 6ba613b4bb8db8348f5451322be057f342083996 Mon Sep 17 00:00:00 2001 From: samunohito <46447427+samunohito@users.noreply.github.com> Date: Sat, 17 Feb 2024 21:22:18 +0900 Subject: [PATCH] remove unused buttons --- .../src/pages/admin/custom-emojis-grid.vue | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/packages/frontend/src/pages/admin/custom-emojis-grid.vue b/packages/frontend/src/pages/admin/custom-emojis-grid.vue index 84087b9be9..7e057fc5da 100644 --- a/packages/frontend/src/pages/admin/custom-emojis-grid.vue +++ b/packages/frontend/src/pages/admin/custom-emojis-grid.vue @@ -2,7 +2,7 @@
@@ -16,6 +16,8 @@ import { i18n } from '@/i18n.js'; import { definePageMetadata } from '@/scripts/page-metadata.js'; import XGridLocalComponent from '@/pages/admin/custom-emojis-grid.local.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'; @@ -29,19 +31,6 @@ const headerTabs = computed(() => [{ 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(() => ({ title: i18n.ts.customEmojis, icon: 'ti ti-icons',