mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 07:52:19 +08:00
FIX: Keep filter UI after editing post (#12898)
This commit is contained in:
parent
51f872f13a
commit
54b7a0d06c
|
@ -831,7 +831,10 @@ export default Controller.extend({
|
|||
const post = result.target;
|
||||
|
||||
if (post && !staged && options.jump !== false) {
|
||||
DiscourseURL.routeTo(post.url, { skipIfOnScreen: true });
|
||||
DiscourseURL.routeTo(post.url, {
|
||||
keepFilter: true,
|
||||
skipIfOnScreen: true,
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user