Use <template #slotName> form instead of v-slot

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-08-12 16:42:40 +02:00
parent 9d00aff619
commit e893f3f089
15 changed files with 28 additions and 29 deletions

View File

@@ -399,7 +399,7 @@
:close-button-aria-label="t('Close')"
>
<identity-picker v-model="identity">
<template v-slot:footer>
<template #footer>
<footer class="modal-card-foot">
<button
class="button"

View File

@@ -147,12 +147,12 @@
keypath="Do you wish to {create_event} or {explore_events}?"
tag="p"
>
<template v-slot:create_event>
<template #create_event>
<router-link :to="{ name: RouteName.CREATE_EVENT }">{{
t("create an event")
}}</router-link>
</template>
<template v-slot:explore_events>
<template #explore_events>
<router-link :to="{ name: RouteName.SEARCH }">{{
t("explore the events")
}}</router-link>