mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
Fix: Correct mobile checking
This commit is contained in:
parent
d64eefd70e
commit
8389f7c054
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export default {
|
|||
MonitorList,
|
||||
},
|
||||
async mounted() {
|
||||
if (!mobile.computed.isMobile()) {
|
||||
if (!this.$root.isMobile) {
|
||||
this.$router.push("/dashboard");
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue