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

@@ -51,7 +51,7 @@
icon="magnify"
/>
</template>
<template v-slot:default="props">
<template #default="props">
<router-link
class="profile"
:to="{
@@ -91,7 +91,7 @@
icon="magnify"
/>
</template>
<template v-slot:default="props">
<template #default="props">
{{ props.row.domain }}
</template>
</o-table-column>

View File

@@ -42,7 +42,7 @@
icon="magnify"
/>
</template>
<template v-slot:default="props">
<template #default="props">
<router-link
class="profile"
:to="{
@@ -81,7 +81,7 @@
icon="magnify"
/>
</template>
<template v-slot:default="props">
<template #default="props">
{{ props.row.domain }}
</template>
</o-table-column>

View File

@@ -45,7 +45,7 @@
{{ props.row.id }}
</o-table-column>
<o-table-column field="email" :label="$t('Email')">
<template v-slot:default="props">
<template #default="props">
<router-link
:to="{
name: RouteName.ADMIN_USER_PROFILE,