mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 21:23:49 +08:00
8632ea5a63
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.
9 lines
243 B
JavaScript
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");
|
|
}
|
|
}
|