Update to modern slot syntax
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6eb42660d5
commit
fb821ac455
|
@ -10,7 +10,7 @@
|
||||||
@select="handleSelect"
|
@select="handleSelect"
|
||||||
@infinite-scroll="getAsyncData"
|
@infinite-scroll="getAsyncData"
|
||||||
>
|
>
|
||||||
<template slot-scope="props">
|
<template #default="props">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<div class="media-left">
|
<div class="media-left">
|
||||||
<img
|
<img
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
></b-table-column
|
></b-table-column
|
||||||
>
|
>
|
||||||
|
|
||||||
<template slot="detail" slot-scope="props">
|
<template #detail="props">
|
||||||
<article>
|
<article>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<strong>{{ props.row.actor.name }}</strong>
|
<strong>{{ props.row.actor.name }}</strong>
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
></b-table-column
|
></b-table-column
|
||||||
>
|
>
|
||||||
|
|
||||||
<template slot="detail" slot-scope="props">
|
<template #detail="props">
|
||||||
<article>
|
<article>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<strong>{{ props.row.targetActor.name }}</strong>
|
<strong>{{ props.row.targetActor.name }}</strong>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
expanded
|
expanded
|
||||||
@select="updateSelected"
|
@select="updateSelected"
|
||||||
>
|
>
|
||||||
<template slot-scope="{ option }">
|
<template #default="{ option }">
|
||||||
<b-icon :icon="option.poiInfos.poiIcon.icon" />
|
<b-icon :icon="option.poiInfos.poiIcon.icon" />
|
||||||
<b>{{ option.poiInfos.name }}</b
|
<b>{{ option.poiInfos.name }}</b
|
||||||
><br />
|
><br />
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
:label="$t('Username')"
|
:label="$t('Username')"
|
||||||
searchable
|
searchable
|
||||||
>
|
>
|
||||||
<template slot="searchable" slot-scope="props">
|
<template #searchable="props">
|
||||||
<b-input
|
<b-input
|
||||||
v-model="props.filters.preferredUsername"
|
v-model="props.filters.preferredUsername"
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
</b-table-column>
|
</b-table-column>
|
||||||
|
|
||||||
<b-table-column field="domain" :label="$t('Domain')" searchable>
|
<b-table-column field="domain" :label="$t('Domain')" searchable>
|
||||||
<template slot="searchable" slot-scope="props">
|
<template #searchable="props">
|
||||||
<b-input
|
<b-input
|
||||||
v-model="props.filters.domain"
|
v-model="props.filters.domain"
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
:label="$t('Username')"
|
:label="$t('Username')"
|
||||||
searchable
|
searchable
|
||||||
>
|
>
|
||||||
<template slot="searchable" slot-scope="props">
|
<template #searchable="props">
|
||||||
<b-input
|
<b-input
|
||||||
v-model="props.filters.preferredUsername"
|
v-model="props.filters.preferredUsername"
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
</b-table-column>
|
</b-table-column>
|
||||||
|
|
||||||
<b-table-column field="domain" :label="$t('Domain')" searchable>
|
<b-table-column field="domain" :label="$t('Domain')" searchable>
|
||||||
<template slot="searchable" slot-scope="props">
|
<template #searchable="props">
|
||||||
<b-input
|
<b-input
|
||||||
v-model="props.filters.domain"
|
v-model="props.filters.domain"
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
{{ props.row.id }}
|
{{ props.row.id }}
|
||||||
</b-table-column>
|
</b-table-column>
|
||||||
<b-table-column field="email" :label="$t('Email')" searchable>
|
<b-table-column field="email" :label="$t('Email')" searchable>
|
||||||
<template slot="searchable" slot-scope="props">
|
<template #searchable="props">
|
||||||
<b-input
|
<b-input
|
||||||
v-model="props.filters.email"
|
v-model="props.filters.email"
|
||||||
:placeholder="$t('Search…')"
|
:placeholder="$t('Search…')"
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
{{ props.row.locale }}
|
{{ props.row.locale }}
|
||||||
</b-table-column>
|
</b-table-column>
|
||||||
|
|
||||||
<template slot="detail" slot-scope="props">
|
<template #detail="props">
|
||||||
<router-link
|
<router-link
|
||||||
class="profile"
|
class="profile"
|
||||||
v-for="actor in props.row.actors"
|
v-for="actor in props.row.actors"
|
||||||
|
|
|
@ -172,7 +172,7 @@
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
</b-table-column>
|
</b-table-column>
|
||||||
<template slot="detail" slot-scope="props">
|
<template #detail="props">
|
||||||
<article v-html="nl2br(props.row.metadata.message)" />
|
<article v-html="nl2br(props.row.metadata.message)" />
|
||||||
</template>
|
</template>
|
||||||
<template slot="empty">
|
<template slot="empty">
|
||||||
|
|
Loading…
Reference in a new issue