discourse/app/assets/javascripts/admin/addon/routes/admin-config-flags-index.js
Martin Brennan 8632ea5a63
UX: Apply admin UI guidelines to custom flags (#28433)
This commit changes the custom flags admin config area
to use the AdminPageHeader component and conforms
to the new admin UI guidelines. Also makes some slight
modifications to the reusable components to handle using
a @route for an action button.
2024-08-21 10:42:00 +10:00

9 lines
243 B
JavaScript

import DiscourseRoute from "discourse/routes/discourse";
import I18n from "discourse-i18n";
export default class AdminConfigFlagsIndexRoute extends DiscourseRoute {
titleToken() {
return I18n.t("admin.config_areas.flags.header");
}
}