]> cat aescling's git repositories - mastodon.git/commitdiff
Fix server rules not being displayed if extended server discription isn't set (#15778)
authorClaire <claire.github-309c@sitedethib.com>
Mon, 22 Feb 2021 17:26:24 +0000 (18:26 +0100)
committerGitHub <noreply@github.com>
Mon, 22 Feb 2021 17:26:24 +0000 (18:26 +0100)
app/views/about/more.html.haml

index 3c5f4f6f1c85abef6582f8bf5e3fbf25ab7baaab..cd93b0f5801bd8dd3db1446dd9b365c8f8803dfb 100644 (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