Skip to content

Commit

Permalink
Update javascripts/discourse/components/brand-header-contents.gjs
Browse files Browse the repository at this point in the history
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
  • Loading branch information
awesomerobot and CvX authored Dec 12, 2024
1 parent 8e687fd commit 2264755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascripts/discourse/components/brand-header-contents.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class BrandHeaderContents extends Component {
@service site;

get shouldShow() {
return !this.isMobileView || settings.show_bar_on_mobile;
return this.site.desktopView || settings.show_bar_on_mobile;
}

get mobileLogoUrl() {
Expand Down

0 comments on commit 2264755

Please sign in to comment.