mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-25 13:05:55 +00:00
Compare commits
9 commits
c1bdd9d6d3
...
0b7982341a
Author | SHA1 | Date | |
---|---|---|---|
|
0b7982341a | ||
|
778363a948 | ||
|
cfd20f086c | ||
|
2aebf316a4 | ||
|
8389f7c054 | ||
|
d64eefd70e | ||
|
d4c7ebfafe | ||
|
aae0673a3d | ||
|
45c03c2b40 |
2 changed files with 11 additions and 1 deletions
|
@ -19,6 +19,16 @@ export default {
|
||||||
onResize() {
|
onResize() {
|
||||||
this.windowWidth = window.innerWidth;
|
this.windowWidth = window.innerWidth;
|
||||||
this.updateBody();
|
this.updateBody();
|
||||||
|
|
||||||
|
if (this.$router.currentRoute.value.path === "/dashboard"
|
||||||
|
|| this.$router.currentRoute.value.path === "/list") {
|
||||||
|
this.$router.push({
|
||||||
|
path: this.isMobile
|
||||||
|
? "/list"
|
||||||
|
: "/dashboard",
|
||||||
|
query: this.$router.currentRoute.value?.query,
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1065,7 +1065,7 @@ import { hostNameRegexPattern } from "../util-frontend";
|
||||||
import HiddenInput from "../components/HiddenInput.vue";
|
import HiddenInput from "../components/HiddenInput.vue";
|
||||||
import EditMonitorConditions from "../components/EditMonitorConditions.vue";
|
import EditMonitorConditions from "../components/EditMonitorConditions.vue";
|
||||||
|
|
||||||
const toast = useToast;
|
const toast = useToast();
|
||||||
|
|
||||||
const pushTokenLength = 32;
|
const pushTokenLength = 32;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue