[pricelist][fix] new price will be shown after adding it

This commit is contained in:
Tim Gröger 2021-03-28 13:08:41 +02:00
parent 3d20292898
commit f58e0c382c
2 changed files with 3 additions and 1 deletions

View File

@ -62,6 +62,7 @@
<q-td key="picture" :props="drinks_props" style="min-width: 256px">
<q-img
loading='lazy'
:src="drinks_props.row.uuid ? `/api/pricelist/picture/${drinks_props.row.uuid}?size=256`: 'no-image.svg'"
placeholder-src='no-image.svg'
>

View File

@ -1,7 +1,6 @@
<template>
<q-table
v-model:pagination="pagination"
style="max-height: 130px"
dense
hide-header
:columns="columns"
@ -11,6 +10,8 @@
virtual-scroll
:rows-per-page-options="[0]"
>
<!--
style="max-height: 130px" -->
<template #body="prices_props">
<q-tr :props="prices_props">
<q-td key="price" :props="prices_props">