1
0

feat: update to new slot syntax

Prepare for vue 3
This commit is contained in:
Dominik Pschenitschni
2021-08-19 19:55:13 +02:00
committed by kolaente
parent 77f8b27dc6
commit 4454e6cf22
18 changed files with 104 additions and 106 deletions

View File

@ -163,10 +163,13 @@
@submit="remove()"
v-if="showDeleteModal"
>
<span slot="header">{{ $t('list.share.links.remove') }}</span>
<p slot="text">
{{ $t('list.share.links.removeText') }}
</p>
<template #header>
<span>{{ $t('list.share.links.remove') }}</span>
</template>
<template #text>
<p>{{ $t('list.share.links.removeText') }}</p>
</template>
</modal>
</transition>
</div>

View File

@ -119,12 +119,12 @@
@submit="deleteSharable()"
v-if="showDeleteModal"
>
<span slot="header">
{{ $t('list.share.userTeam.removeHeader', {type: shareTypeName, sharable: sharableName}) }}
</span>
<p slot="text">
{{ $t('list.share.userTeam.removeText', {type: shareTypeName, sharable: sharableName}) }}
</p>
<template #header>
<span>{{ $t('list.share.userTeam.removeHeader', {type: shareTypeName, sharable: sharableName}) }}</span>
</template>
<template #text>
<p>{{ $t('list.share.userTeam.removeText', {type: shareTypeName, sharable: sharableName}) }}</p>
</template>
</modal>
</transition>
</div>