discourse/app/assets/javascripts/admin/addon/controllers/admin-area-settings-base.js
Krzysztof Kotlarek fdb6634fa9
FEATURE: settings tab for permalinks (#30192)
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.
2024-12-19 10:40:34 +11:00

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;
}
}