Update to modern slot syntax
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
:label="$t('Username')"
|
||||
searchable
|
||||
>
|
||||
<template slot="searchable" slot-scope="props">
|
||||
<template #searchable="props">
|
||||
<b-input
|
||||
v-model="props.filters.preferredUsername"
|
||||
placeholder="Search..."
|
||||
@@ -68,7 +68,7 @@
|
||||
</b-table-column>
|
||||
|
||||
<b-table-column field="domain" :label="$t('Domain')" searchable>
|
||||
<template slot="searchable" slot-scope="props">
|
||||
<template #searchable="props">
|
||||
<b-input
|
||||
v-model="props.filters.domain"
|
||||
placeholder="Search..."
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
:label="$t('Username')"
|
||||
searchable
|
||||
>
|
||||
<template slot="searchable" slot-scope="props">
|
||||
<template #searchable="props">
|
||||
<b-input
|
||||
v-model="props.filters.preferredUsername"
|
||||
placeholder="Search..."
|
||||
@@ -68,7 +68,7 @@
|
||||
</b-table-column>
|
||||
|
||||
<b-table-column field="domain" :label="$t('Domain')" searchable>
|
||||
<template slot="searchable" slot-scope="props">
|
||||
<template #searchable="props">
|
||||
<b-input
|
||||
v-model="props.filters.domain"
|
||||
placeholder="Search..."
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
{{ props.row.id }}
|
||||
</b-table-column>
|
||||
<b-table-column field="email" :label="$t('Email')" searchable>
|
||||
<template slot="searchable" slot-scope="props">
|
||||
<template #searchable="props">
|
||||
<b-input
|
||||
v-model="props.filters.email"
|
||||
:placeholder="$t('Search…')"
|
||||
@@ -76,7 +76,7 @@
|
||||
{{ props.row.locale }}
|
||||
</b-table-column>
|
||||
|
||||
<template slot="detail" slot-scope="props">
|
||||
<template #detail="props">
|
||||
<router-link
|
||||
class="profile"
|
||||
v-for="actor in props.row.actors"
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
}}
|
||||
</span>
|
||||
</b-table-column>
|
||||
<template slot="detail" slot-scope="props">
|
||||
<template #detail="props">
|
||||
<article v-html="nl2br(props.row.metadata.message)" />
|
||||
</template>
|
||||
<template slot="empty">
|
||||
|
||||
Reference in New Issue
Block a user