discourse/app/assets/javascripts/admin/addon/controllers/admin-config-flags.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
324 B
JavaScript
Raw Normal View History

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
);
}
}