Update to modern slot syntax

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-04-16 18:13:17 +02:00
parent 6eb42660d5
commit fb821ac455
8 changed files with 11 additions and 11 deletions

View File

@@ -10,7 +10,7 @@
@select="handleSelect"
@infinite-scroll="getAsyncData"
>
<template slot-scope="props">
<template #default="props">
<div class="media">
<div class="media-left">
<img

View File

@@ -78,7 +78,7 @@
></b-table-column
>
<template slot="detail" slot-scope="props">
<template #detail="props">
<article>
<div class="content">
<strong>{{ props.row.actor.name }}</strong>

View File

@@ -103,7 +103,7 @@
></b-table-column
>
<template slot="detail" slot-scope="props">
<template #detail="props">
<article>
<div class="content">
<strong>{{ props.row.targetActor.name }}</strong>

View File

@@ -12,7 +12,7 @@
expanded
@select="updateSelected"
>
<template slot-scope="{ option }">
<template #default="{ option }">
<b-icon :icon="option.poiInfos.poiIcon.icon" />
<b>{{ option.poiInfos.name }}</b
><br />