Migrate templates containing both slot and slot-scope (#867)

This commit is contained in:
Ben McCann 2021-01-15 07:33:09 -08:00 committed by GitHub
parent 442a1b9a59
commit b3231909a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@
item-key="ID"
:no-data-text="notFoundMessage"
>
<template slot="items" slot-scope="props">
<template v-slot:items="props">
<td style="user-select: none;" :data-uid="props.item.UID" class="result" :class="props.item.classes()">
<v-img :key="props.item.Hash"
:src="props.item.thumbnailUrl('tile_50')"

View file

@ -10,7 +10,7 @@
item-key="ID"
:no-data-text="$gettext('No servers configured.')"
>
<template slot="items" slot-scope="props" class="p-account">
<template v-slot:items="props" class="p-account">
<td>
<button class="secondary-dark--text" @click.stop.prevent="edit(props.item)">
{{ props.item.AccName }}

View file

@ -27,7 +27,7 @@
item-key="ID"
:no-data-text="notFoundMessage"
>
<template slot="items" slot-scope="props">
<template slot:items="props">
<td style="user-select: none;" :data-uid="props.item.UID" class="result" :class="props.item.classes()">
<v-img :key="props.item.Hash"
:src="props.item.thumbnailUrl('tile_50')"