discourse/app/assets/javascripts/admin/addon/controllers/admin-emojis-settings.js
Ted Johansson d96b8d1001
DEV: Modernize admin emoji JavaScript (#29714)
app/assets/javascripts/admin/addon/templates/emojis.hbs
2024-11-19 15:44:34 +08:00

13 lines
298 B
JavaScript

import Controller from "@ember/controller";
import { action } from "@ember/object";
export default class AdminEmojisSettingsController extends Controller {
filter = "";
queryParams = ["filter"];
@action
filterChangedCallback(filterData) {
this.set("filter", filterData.filter);
}
}