Fix: Correct mobile checking

pull/4492/head
NihadBadalov 3 months ago
parent d64eefd70e
commit 8389f7c054

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

Loading…
Cancel
Save