PMCORE-3263

This commit is contained in:
Henry Jordan
2021-08-31 20:49:23 +00:00
parent 1275cec55c
commit 3215a850a3
6 changed files with 16 additions and 9 deletions

View File

@@ -33,7 +33,7 @@
</div>
<div class="pm-vue-card-view-footer">
<a @click="viewMore" class="list-group-item">View more</a>
<a @click="viewMore" class="list-group-item">{{loadMore}}</a>
</div>
</div>
</div>
@@ -51,6 +51,7 @@ export default {
props: ["options"],
data() {
return {
loadMore: this.$t("ID_LOAD_MORE")
};
},
mounted() {

View File

@@ -39,6 +39,8 @@ export default {
if (data.data && data.data.length != 0) {
that.data = that.data.concat(data.data);
that.config.page += 1;
} else {
that.loadMore = that.$t("ID_NO_MORE_INFORMATION");
}
})
.catch(() => {