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

pull/15803/head
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