Merge cfd20f086cf76737f93d35b6776af3d248d430e4 into 8d8e3e5a8e78030b8ffbe258dc872b8bea234390

This commit is contained in:
NihadBadalov 2025-04-18 23:34:26 +00:00 committed by GitHub
commit 38879bd7ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,6 +19,16 @@ export default {
onResize() {
this.windowWidth = window.innerWidth;
this.updateBody();
if (this.$router.currentRoute.value.path === "/dashboard"
|| this.$router.currentRoute.value.path === "/list") {
this.$router.push({
path: this.isMobile
? "/list"
: "/dashboard",
query: this.$router.currentRoute.value?.query,
});
}
},
/**