This commit is contained in:
lesion 2021-11-20 21:02:48 +01:00
parent 1155da2695
commit 167e6e6dbe
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -9,7 +9,7 @@
:headers='headers')
template(v-slot:item.actions='{ item }')
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='`/event/${item.slug || 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')}}