Fix ui glitch in item list when item status is empty (#1653)

fixes #1604

Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
pull/1651/head^2
stefan-hoehn 2023-01-21 09:54:55 +01:00 committed by GitHub
parent 4283ae8ac8
commit 020636436f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@
:footer="(item.label) ? item.name : '\xa0'"
:subtitle="getItemTypeAndMetaLabel(item)"
:style="`top: ${vlData.topPosition}px`"
:after="item.state">
:after="(item.state) ? item.state : '\xa0'">
<oh-icon v-if="item.category" slot="media" :icon="item.category" height="32" width="32" />
<span v-else slot="media" class="item-initial">{{ item.name[0] }}</span>
<f7-icon v-if="!item.editable" slot="after-title" f7="lock_fill" size="1rem" color="gray" />