mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-04-20 15:46:02 -04:00
Merge cfd20f086cf76737f93d35b6776af3d248d430e4 into 8d8e3e5a8e78030b8ffbe258dc872b8bea234390
This commit is contained in:
commit
38879bd7ea
@ -19,6 +19,16 @@ export default {
|
||||
onResize() {
|
||||
this.windowWidth = window.innerWidth;
|
||||
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,
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user