add forgotten slug

This commit is contained in:
les 2021-07-27 17:19:23 +02:00
parent ff0bb19540
commit c87f479945
No known key found for this signature in database
GPG key ID: 352918250B012177
2 changed files with 2 additions and 3 deletions

View file

@ -22,12 +22,12 @@
v-list(dense)
v-list-item-group
v-list-item(v-clipboard:success="() => $root.$message('common.copied', { color: 'success' })"
v-clipboard:copy='`${settings.baseurl}/event/${event.id}`')
v-clipboard:copy='`${settings.baseurl}/event/${event.slug || event.id}`')
v-list-item-icon
v-icon mdi-content-copy
v-list-item-content
v-list-item-title {{$t('common.copy_link')}}
v-list-item(:href='`/api/event/${event.id}.ics`')
v-list-item(:href='`/api/event/${event.slug || event.id}.ics`')
v-list-item-icon
v-icon mdi-calendar-export
v-list-item-content

View file

@ -12,7 +12,6 @@ div#list
v-list-item-subtitle <v-icon small color='success' v-if='event.parentId'>mdi-repeat</v-icon> {{event|when}}
span.primary--text.ml-1 @{{event.place.name}}
v-list-item-title(v-text='event.title')
//- a.text-body-1(:href='`/event/${event.id}`' target='_blank') {{event.title}}
</template>
<script>