[fix] fixed issuer #13 (edit drink if picture is not loading)
This commit is contained in:
parent
a8c17a24d0
commit
836d3cf5d4
|
@ -54,6 +54,29 @@
|
|||
{{ props.row.type.name }}
|
||||
</div>
|
||||
</div>
|
||||
<template #error>
|
||||
<q-img class="bg-white" style="max-height: 256px" src='no-image.svg' />
|
||||
<div
|
||||
v-if="!public && !nodetails && editable"
|
||||
class="absolute-top-right justify-end"
|
||||
style="background-color: transparent"
|
||||
>
|
||||
<q-btn
|
||||
round
|
||||
icon="mdi-pencil"
|
||||
style="background-color: rgba(0, 0, 0, 0.5)"
|
||||
@click="editDrink = props.row"
|
||||
/>
|
||||
</div>
|
||||
<div class="absolute-bottom-right justify-end">
|
||||
<div class="text-subtitle1 text-right">
|
||||
{{ props.row.name }}
|
||||
</div>
|
||||
<div class="text-caption text-right">
|
||||
{{ props.row.type.name }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</q-img>
|
||||
<q-card-section>
|
||||
<q-badge
|
||||
|
|
Loading…
Reference in New Issue