import Component from "@glimmer/component"; import { LinkTo } from "@ember/routing"; import { service } from "@ember/service"; import concatClass from "discourse/helpers/concat-class"; import { i18n } from "discourse-i18n"; export default class AdminPluginConfigArea extends Component { @service adminPluginNavManager; linkText(navLink) { if (navLink.label) { return i18n(navLink.label); } else { return navLink.text; } } }