Skip to content

Commit

Permalink
Fix: Correct mobile checking
Browse files Browse the repository at this point in the history
  • Loading branch information
NihadBadalov committed Feb 15, 2024
1 parent d64eefd commit 8389f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
MonitorList,
},
async mounted() {
if (!mobile.computed.isMobile()) {
if (!this.$root.isMobile) {
this.$router.push("/dashboard");
}
},
Expand Down

0 comments on commit 8389f7c

Please sign in to comment.