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