Explorar o código

Merge branch 'keep-attachment-section-for-uploading-attachment-easier' of https://github.com/thuanpq/wekan into thuanpq-keep-attachment-section-for-uploading-attachment-easier

Lauri Ojansivu %!s(int64=7) %!d(string=hai) anos
pai
achega
ca1da1adc2
Modificáronse 1 ficheiros con 5 adicións e 6 borrados
  1. 5 6
      client/components/cards/cardDetails.jade

+ 5 - 6
client/components/cards/cardDetails.jade

@@ -85,13 +85,12 @@ template(name="cardDetails")
     hr
     +checklists(cardId = _id)
 
-    if attachments.count
-      hr
-      h2
-        i.fa.fa-paperclip
-        | {{_ 'attachments'}}
+    hr
+    h2
+      i.fa.fa-paperclip
+      | {{_ 'attachments'}}
 
-      +attachmentsGalery
+    +attachmentsGalery
 
     hr
     .activity-title