gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/stable
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
1 changed files with 1 additions and 1 deletions

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