Skip to content

A platform for community discussion. Free, open, simple.

FIX: Hide heading when there's no custom description (#28470)

Osama Sayegh6997b3c5ce6d
diff --git a/app/assets/javascripts/discourse/app/components/about-page.gjs b/app/assets/javascripts/discourse/app/components/about-page.gjs
index 42be96476b9..dbdf7af4552 100644
--- a/app/assets/javascripts/discourse/app/components/about-page.gjs
+++ b/app/assets/javascripts/discourse/app/components/about-page.gjs
@@ -218,8 +218,11 @@ export default class AboutPage extends Component {
</span>
{{/each}}
</div>
- <h3>{{i18n "about.simple_title"}}</h3>
- <div>{{htmlSafe @model.extended_site_description}}</div>
+
+ {{#if @model.extended_site_description}}
+ <h3>{{i18n "about.simple_title"}}</h3>
+ <div>{{htmlSafe @model.extended_site_description}}</div>
+ {{/if}}
{{#if @model.admins.length}}
<section class="about__admins">