mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 05:43:16 +08:00
FIX: since stuff is unbound in the list we must issue a refresh on all bulk actions
Otherwise when you recategorize stuff will look as though its in the wrong category
This commit is contained in:
parent
8fbc8dbae0
commit
e8d0aa9777
|
@ -60,6 +60,8 @@ export default Ember.ArrayController.extend(ModalFunctionality, {
|
|||
this.perform(operation).then(function (topics) {
|
||||
if (topics) {
|
||||
topics.forEach(cb);
|
||||
const refreshTarget = self.get('refreshTarget');
|
||||
if (refreshTarget) { refreshTarget.send('refresh'); }
|
||||
self.send('closeModal');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user