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
with the action taken out -->
<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-item
v-for="item in displayList"
@@ -195,8 +196,8 @@ export default {
cardTextStyle() {
return "height: " + this.height + "px;overflow-y:auto;";
},
hasFiles(){
if(!this.displayList || this.displayList.length==0){
hasFiles() {
if (!this.displayList || this.displayList.length == 0) {
return false;
}
return true;