mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-02-18 01:14:57 +00:00
UX: Force refresh model to update last_run_at after a query is run
This commit is contained in:
parent
3bdf624ced
commit
80f97d9514
@ -98,6 +98,7 @@ export default Ember.Controller.extend({
|
||||
},
|
||||
|
||||
goHome() {
|
||||
this.send('refreshModel');
|
||||
this.set('selectedQueryId', null);
|
||||
this.transitionToRoute('adminPlugins.explorer');
|
||||
},
|
||||
|
@ -18,5 +18,10 @@ export default Discourse.Route.extend({
|
||||
|
||||
setupController: function(controller, model) {
|
||||
controller.setProperties(model);
|
||||
},
|
||||
|
||||
actions: {
|
||||
refreshModel: function() {
|
||||
this.refresh();
|
||||
}
|
||||
});
|
||||
}});
|
||||
|
Loading…
x
Reference in New Issue
Block a user