add forgotten slug
This commit is contained in:
parent
ff0bb19540
commit
c87f479945
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue