From 3658ee26581cb4c34cee6efb0e16f2c4894eb6b5 Mon Sep 17 00:00:00 2001 From: lesion Date: Thu, 9 Nov 2023 17:01:32 +0100 Subject: [PATCH] fix(Admin): Move the events tab to the left in the admin panel fix #312 --- pages/Admin.vue | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pages/Admin.vue b/pages/Admin.vue index 571afdb2..d9b7b991 100644 --- a/pages/Admin.vue +++ b/pages/Admin.vue @@ -12,6 +12,13 @@ v-container.container.pa-0.pa-md-3 v-tab-item(value='settings') Settings + //- EVENTS + v-tab(href='#unconfirmed_events') + v-badge(:value='!!unconfirmedEvents.length' :content='unconfirmedEvents.length') {{$t('common.events')}} + v-tab-item(value='unconfirmed_events') + Events(:unconfirmedEvents='unconfirmedEvents' + @confirmed='id => { unconfirmedEvents = unconfirmedEvents.filter(e => e.id !== id)}') + //- THEME v-tab(href='#theme') {{$t('common.theme')}} v-tab-item(value='theme') @@ -38,20 +45,12 @@ v-container.container.pa-0.pa-md-3 v-tab-item(value='geolocation') client-only(placeholder='Loading...') Geolocation - //- Collections v-tab(href='#collections') {{$t('common.collections')}} v-tab-item(value='collections') Collections - //- EVENTS - v-tab(href='#unconfirmed_events') - v-badge(:value='!!unconfirmedEvents.length' :content='unconfirmedEvents.length') {{$t('common.events')}} - v-tab-item(value='unconfirmed_events') - Events(:unconfirmedEvents='unconfirmedEvents' - @confirmed='id => { unconfirmedEvents = unconfirmedEvents.filter(e => e.id !== id)}') - //- ANNOUNCEMENTS v-tab(href='#announcements') {{$t('common.announcements')}} v-tab-item(value='announcements')