A platform for community discussion. Free, open, simple.
FIX: add desktopView key to createTopicLabel for responsiveness (#41174)
Kris562e4c914527
diff --git a/frontend/discourse/app/components/d-navigation.gjs b/frontend/discourse/app/components/d-navigation.gjsindex 31e92a3a638..b2ec93cfbf9 100644--- a/frontend/discourse/app/components/d-navigation.gjs+++ b/frontend/discourse/app/components/d-navigation.gjs@@ -36,7 +36,7 @@ export default class DNavigation extends Component {return this.siteSettings.fixed_category_positions;}- @computed("category", "site.shared_drafts_category_id")+ @computed("category", "site.shared_drafts_category_id", "site.desktopView")get createTopicLabel() {const defaultKey = "topic.create";let value = this.site.desktopView ? defaultKey : "";