This commit is contained in:
Manthan Ankolekar 2024-12-24 11:33:04 +05:30 committed by GitHub
commit 5796b33d4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,11 +6,18 @@
<script> <script>
import MonitorList from "../components/MonitorList.vue"; import MonitorList from "../components/MonitorList.vue";
import mobileMixin from "../mixins/mobile.js";
export default { export default {
components: { components: {
MonitorList, MonitorList,
}, },
mixins: [mobileMixin],
created() {
if (!this.isMobile) {
this.$router.push("/dashboard");
}
},
}; };
</script> </script>