mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 09:43:46 +08:00
df6c152fa1
Add settings tab to flags moderation page.
13 lines
324 B
JavaScript
13 lines
324 B
JavaScript
import Controller from "@ember/controller";
|
|
import { service } from "@ember/service";
|
|
|
|
export default class AdminConfigFlagsSettingsController extends Controller {
|
|
@service router;
|
|
|
|
get hideTabs() {
|
|
return ["adminConfig.flags.new", "adminConfig.flags.edit"].includes(
|
|
this.router.currentRouteName
|
|
);
|
|
}
|
|
}
|