fix package.lock

This commit is contained in:
Logorrheique 2024-11-04 11:20:41 +01:00
parent 04943c8553
commit 856ab558b9

View file

@ -11,6 +11,18 @@ export default {
components: {
MonitorList,
},
mounted() {
if (!this.$root.isMobile && this.$route.path === '/list') {
this.$router.push('/dashboard');
}
},
watch: {
'$root.isMobile'(newVal) {
if (!newVal && this.$route.path === '/list') {
this.$router.push('/dashboard');
}
}
}
};
</script>