mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:50:00 +08:00
FIX: change the controller method name to match its new name.
The controller method `_changeFilters` is now changed to `changeFilters` in the commit 1fc58b5a4e
. But it was not modified in the `admin-tools` service script.
This commit is contained in:
parent
c68563a281
commit
6a8562894a
|
@ -3,7 +3,6 @@ import I18n from "I18n";
|
|||
// and the admin application. Use this if you need front end code to access admin
|
||||
// modules. Inject it optionally, and if it exists go to town!
|
||||
|
||||
import EmberObject from "@ember/object";
|
||||
import AdminUser from "admin/models/admin-user";
|
||||
import { iconHTML } from "discourse-common/lib/icon-library";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
|
@ -25,8 +24,7 @@ export default Service.extend({
|
|||
"controller:adminLogs.staffActionLogs"
|
||||
);
|
||||
target.transitionToRoute("adminLogs.staffActionLogs").then(() => {
|
||||
controller.set("filters", EmberObject.create());
|
||||
controller._changeFilters(filters);
|
||||
controller.changeFilters(filters);
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user