Chore: Avoid empty URL query parameter when returning to inbox from message view

This commit is contained in:
Ralph Slooten
2026-01-08 15:54:37 +13:00
parent f0160c0e29
commit 392904fd23

View File

@@ -442,7 +442,11 @@ export default {
if (pagination.limit !== pagination.defaultLimit) {
p.limit = pagination.limit.toString();
}
this.$router.push("/?" + new URLSearchParams(p).toString());
if (p.start || p.limit) {
this.$router.push("/?" + new URLSearchParams(p).toString());
} else {
this.$router.push("/");
}
}
},