diff --git a/components/admin/Events.vue b/components/admin/Events.vue index 7b19390a..a1a19a19 100644 --- a/components/admin/Events.vue +++ b/components/admin/Events.vue @@ -7,15 +7,14 @@ :items='unconfirmedEvents' :headers='headers') template(v-slot:item.actions='{ item }') - v-btn(text small @click.stop='toggle(item)' - :color='item.visible?"warning":"success"') {{item.visible?$t('common.disable'):$t('common.enable')}} - v-btn(text small @click='edit(item)') {{$t('common.edit')}} + v-btn(text small @click='confirm(item)' color='success') {{$t('common.confirm')}} + v-btn(text small :to='`/event/${item.id}`' color='success') {{$t('common.preview')}} + v-btn(text small :to='`/add/${item.id}`' color='warning') {{$t('common.edit')}} v-btn(text small @click='remove(item)' color='error') {{$t('common.delete')}}