mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-12 20:34:46 +00:00
Compare commits
9 commits
d5bfd77ffd
...
3ad4acf8fc
Author | SHA1 | Date | |
---|---|---|---|
|
3ad4acf8fc | ||
|
65e6f10820 | ||
|
cfd20f086c | ||
|
2aebf316a4 | ||
|
8389f7c054 | ||
|
d64eefd70e | ||
|
d4c7ebfafe | ||
|
aae0673a3d | ||
|
45c03c2b40 |
2 changed files with 11 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
|||
"build-docker-pr-test": "docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64 -t louislam/uptime-kuma:pr-test2 --target pr-test2 . --push",
|
||||
"upload-artifacts": "node extra/release/upload-artifacts.mjs",
|
||||
"upload-artifacts-beta": "node extra/release/upload-artifacts-beta.mjs",
|
||||
"setup": "git checkout 1.23.15 && npm ci --production && npm run download-dist",
|
||||
"setup": "git checkout 1.23.16 && npm ci --production && npm run download-dist",
|
||||
"download-dist": "node extra/download-dist.js",
|
||||
"mark-as-nightly": "node extra/mark-as-nightly.js",
|
||||
"reset-password": "node extra/reset-password.js",
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue