discourse-subscriptions/assets/javascripts/discourse/routes/admin-plugins-discourse-sub...

15 lines
446 B
JavaScript

import Route from "@ember/routing/route";
export default Route.extend({
actions: {
showSettings() {
const controller = this.controllerFor("adminSiteSettings");
this.transitionTo("adminSiteSettingsCategory", "plugins").then(() => {
controller.set("filter", "plugin:discourse-subscriptions campaign");
controller.set("_skipBounce", true);
controller.filterContentNow("plugins");
});
},
},
});