mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 21:34:16 +08:00
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
|
||
|
);
|
||
|
}
|
||
|
}
|