mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-14 05:14:46 +00:00
Compare commits
12 commits
b90f8d8706
...
9259f23ccd
Author | SHA1 | Date | |
---|---|---|---|
|
9259f23ccd | ||
|
97cbaac5d9 | ||
|
17cffa7528 | ||
|
0ec4de3a13 | ||
|
92604cfe6d | ||
|
ffa8aad019 | ||
|
49a5272573 | ||
|
c62f0d7bd6 | ||
|
c2f7747695 | ||
|
856ab558b9 | ||
|
04943c8553 | ||
|
bb14bc18ca |
2 changed files with 13 additions and 2 deletions
|
@ -197,7 +197,7 @@ export default {
|
|||
return tagOptions;
|
||||
},
|
||||
selectedTags() {
|
||||
return this.preSelectedTags.concat(this.newTags).filter(tag => !this.deleteTags.find(monitorTag => monitorTag.id === tag.id));
|
||||
return this.preSelectedTags.concat(this.newTags).filter(tag => !this.deleteTags.find(monitorTag => monitorTag.tag_id === tag.tag_id));
|
||||
},
|
||||
colorOptions() {
|
||||
return colorOptions(this);
|
||||
|
|
|
@ -11,6 +11,18 @@ export default {
|
|||
components: {
|
||||
MonitorList,
|
||||
},
|
||||
watch: {
|
||||
"$root.isMobile"(newVal) {
|
||||
if (!newVal && this.$route.path === "/list") {
|
||||
this.$router.replace({ path: "/dashboard" });
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
if (!this.$root.isMobile && this.$route.path === "/list") {
|
||||
this.$router.replace({ path: "/dashboard" });
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
@ -20,5 +32,4 @@ export default {
|
|||
.shadow-box {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Add table
Reference in a new issue