mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -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>
|
||||
<div v-if="value.length > 0 || edit">
|
||||
<div v-if="modelValue.length > 0 || edit">
|
||||
<v-card class="mt-4">
|
||||
<v-card-title class="py-2">
|
||||
{{ $t("asset.assets") }}
|
||||
</v-card-title>
|
||||
<v-divider class="mx-2" />
|
||||
<v-list
|
||||
v-if="value.length > 0"
|
||||
v-if="modelValue.length > 0"
|
||||
:flat="!edit"
|
||||
>
|
||||
<v-list-item
|
||||
v-for="(item, i) in value"
|
||||
v-for="(item, i) in modelValue"
|
||||
:key="i"
|
||||
>
|
||||
<template #prepend>
|
||||
|
@ -44,7 +44,7 @@
|
|||
color="error"
|
||||
icon
|
||||
top
|
||||
@click="value.splice(i, 1)"
|
||||
@click="modelValue.splice(i, 1)"
|
||||
>
|
||||
<v-icon>{{ $globals.icons.delete }}</v-icon>
|
||||
</v-btn>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue