mirror of
https://github.com/discourse/discourse.git
synced 2025-01-10 03:09:56 +08:00
fdb6634fa9
Setting tab should be added to permalinks so admins do not need to have left `/permalinks`. A new component called `AreaSetting` was added to avoid duplications and simplify adding settings to other sections.
14 lines
346 B
JavaScript
14 lines
346 B
JavaScript
import { tracked } from "@glimmer/tracking";
|
|
import Controller from "@ember/controller";
|
|
import { action } from "@ember/object";
|
|
|
|
export default class AdminAreaSettingsBaseController extends Controller {
|
|
@tracked filter = "";
|
|
queryParams = ["filter"];
|
|
|
|
@action
|
|
adminSettingsFilterChangedCallback(filter) {
|
|
this.filter = filter;
|
|
}
|
|
}
|