Compare commits

..

1 commit

Author SHA1 Message Date
Couteau Arthur
522c07f9b3
Merge ffa8aad019 into 8a432ac937 2024-11-12 18:00:27 +00:00

View file

@ -14,15 +14,16 @@ export default {
watch: {
"$root.isMobile"(newVal) {
if (!newVal && this.$route.path === "/list") {
this.$router.replace({ path: "/dashboard" });
this.$router.push("/dashboard");
}
}
},
},
mounted() {
if (!this.$root.isMobile && this.$route.path === "/list") {
this.$router.replace({ path: "/dashboard" });
this.$router.push("/dashboard");
}
},
};
</script>
@ -32,4 +33,5 @@ export default {
.shadow-box {
padding: 20px;
}
</style>