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')