mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-24 07:15:24 -07:00
fix 500 error
This commit is contained in:
parent
28e2666c17
commit
4d5193bcb3
1 changed files with 4 additions and 4 deletions
|
@ -1,16 +1,16 @@
|
||||||
<template>
|
<template>
|
||||||
<div v-if="value.length > 0 || edit">
|
<div v-if="modelValue.length > 0 || edit">
|
||||||
<v-card class="mt-4">
|
<v-card class="mt-4">
|
||||||
<v-card-title class="py-2">
|
<v-card-title class="py-2">
|
||||||
{{ $t("asset.assets") }}
|
{{ $t("asset.assets") }}
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-divider class="mx-2" />
|
<v-divider class="mx-2" />
|
||||||
<v-list
|
<v-list
|
||||||
v-if="value.length > 0"
|
v-if="modelValue.length > 0"
|
||||||
:flat="!edit"
|
:flat="!edit"
|
||||||
>
|
>
|
||||||
<v-list-item
|
<v-list-item
|
||||||
v-for="(item, i) in value"
|
v-for="(item, i) in modelValue"
|
||||||
:key="i"
|
:key="i"
|
||||||
>
|
>
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
color="error"
|
color="error"
|
||||||
icon
|
icon
|
||||||
top
|
top
|
||||||
@click="value.splice(i, 1)"
|
@click="modelValue.splice(i, 1)"
|
||||||
>
|
>
|
||||||
<v-icon>{{ $globals.icons.delete }}</v-icon>
|
<v-icon>{{ $globals.icons.delete }}</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue