FIX: refresh post stream after in-place post updates (#13384)
Changing the staged attribute on a post means we also need to re-render. Previously certain edits would not issue a refresh leaving a post greyed out.
This commit is contained in:
parent
ff4fb9c771
commit
cc1e73b8e4
|
@ -992,6 +992,7 @@ const Composer = RestModel.extend({
|
|||
.catch(rollback)
|
||||
.finally(() => {
|
||||
post.set("staged", false);
|
||||
this.appEvents.trigger("post-stream:refresh", { id: post.id });
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue