mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-13 08:45:53 -04:00
Don't display "count" text for pagination
This commit is contained in:
parent
8d984881c9
commit
2e7ad1b7b2
9 changed files with 14 additions and 47 deletions
|
@ -83,17 +83,12 @@ export default {
|
|||
perPage: 25,
|
||||
heartBeatList: [],
|
||||
paginationConfig: {
|
||||
texts:{
|
||||
count:`${this.$t("Showing {from} to {to} of {count} records")}|{count} ${this.$t("records")}|${this.$t("One record")}`,
|
||||
first:this.$t("First"),
|
||||
last:this.$t("Last"),
|
||||
nextPage:'>',
|
||||
nextChunk:'>>',
|
||||
prevPage:'<',
|
||||
prevChunk:'<<'
|
||||
}
|
||||
}
|
||||
}
|
||||
texts: {
|
||||
count: "",
|
||||
},
|
||||
chunksNavigation: "scroll",
|
||||
},
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
stats() {
|
||||
|
@ -106,7 +101,7 @@ export default {
|
|||
|
||||
for (let monitorID in this.$root.monitorList) {
|
||||
let beat = this.$root.lastHeartbeatList[monitorID];
|
||||
let monitor = this.$root.monitorList[monitorID]
|
||||
let monitor = this.$root.monitorList[monitorID];
|
||||
|
||||
if (monitor && ! monitor.active) {
|
||||
result.pause++;
|
||||
|
@ -132,7 +127,7 @@ export default {
|
|||
let result = [];
|
||||
|
||||
for (let monitorID in this.$root.importantHeartbeatList) {
|
||||
let list = this.$root.importantHeartbeatList[monitorID]
|
||||
let list = this.$root.importantHeartbeatList[monitorID];
|
||||
result = result.concat(list);
|
||||
}
|
||||
|
||||
|
@ -140,7 +135,7 @@ export default {
|
|||
let monitor = this.$root.monitorList[beat.monitorID];
|
||||
|
||||
if (monitor) {
|
||||
beat.name = monitor.name
|
||||
beat.name = monitor.name;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -167,7 +162,7 @@ export default {
|
|||
return this.heartBeatList.slice(startIndex, endIndex);
|
||||
},
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue