import Component from "@glimmer/component"; import { service } from "@ember/service"; import DBreadcrumbsContainer from "discourse/components/d-breadcrumbs-container"; import DBreadcrumbsItem from "discourse/components/d-breadcrumbs-item"; import i18n from "discourse-common/helpers/i18n"; import AdminPluginConfigArea from "./admin-plugin-config-area"; import AdminPluginConfigMetadata from "./admin-plugin-config-metadata"; import AdminPluginConfigTopNav from "./admin-plugin-config-top-nav"; export default class AdminPluginConfigPage extends Component { @service currentUser; @service adminPluginNavManager; get mainAreaClasses() { let classes = ["admin-plugin-config-page__main-area"]; if (this.adminPluginNavManager.isSidebarMode) { classes.push("-with-inner-sidebar"); } else { classes.push("-without-inner-sidebar"); } return classes.join(" "); } }