1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2025-01-18 03:22:21 +02:00

Fix: Correct mobile checking

This commit is contained in:
NihadBadalov 2024-02-15 09:10:29 +01:00
parent d64eefd70e
commit 8389f7c054

View File

@ -13,7 +13,7 @@ export default {
MonitorList,
},
async mounted() {
if (!mobile.computed.isMobile()) {
if (!this.$root.isMobile) {
this.$router.push("/dashboard");
}
},