mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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:
@@ -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');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user