1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-27 22:38:35 +09:00

Fix server rules not being displayed if extended server discription isn't set (#15778)

This commit is contained in:
Claire 2021-02-22 18:26:24 +01:00 committed by GitHub
parent 2127f40e6b
commit 1b50ac08c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@
.column-3
= render 'application/flashes'
- if @contents.blank? && (!display_blocks? || @blocks&.empty?)
- if @contents.blank? && @rules.empty? && (!display_blocks? || @blocks&.empty?)
= nothing_here
- else
.box-widget