This commit is contained in:
2020-06-07 17:13:06 +00:00
parent 50e97f743d
commit ed0de5bfb0

View File

@@ -13,7 +13,8 @@
<!-- Note: this is just a copy of the inner part of read/write version below <!-- Note: this is just a copy of the inner part of read/write version below
with the action taken out --> with the action taken out -->
<div class="mt-4" :style="cardTextStyle()"> <div class="mt-4" :style="cardTextStyle()">
<v-divider v-if="!hasFiles()"></v-divider> <span v-if="!hasFiles()">{{ $ay.t("NoData") }}</span>
<v-list three-line> <v-list three-line>
<v-list-item <v-list-item
v-for="item in displayList" v-for="item in displayList"
@@ -195,8 +196,8 @@ export default {
cardTextStyle() { cardTextStyle() {
return "height: " + this.height + "px;overflow-y:auto;"; return "height: " + this.height + "px;overflow-y:auto;";
}, },
hasFiles(){ hasFiles() {
if(!this.displayList || this.displayList.length==0){ if (!this.displayList || this.displayList.length == 0) {
return false; return false;
} }
return true; return true;