import Component from "@glimmer/component"; import { inject as service } from "@ember/service"; 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(" "); } }