mirror of
https://github.com/axllent/mailpit.git
synced 2026-06-28 06:56:06 +00:00
Chore: Avoid empty URL query parameter when returning to inbox from message view
This commit is contained in:
@@ -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("/");
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user