From 6ce4501f1bed448151180ba2242d60d8576e0340 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Thu, 17 Sep 2020 00:42:31 -0500 Subject: [PATCH] Rem: upload spinner. attachmentGalery would need refactoring to an individual attachment component with component state that could be set on the onUpdated event. I'm not capable of doing this within reasonable time. --- client/components/cards/attachments.jade | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/client/components/cards/attachments.jade b/client/components/cards/attachments.jade index dfdd694e1..07d623e9a 100644 --- a/client/components/cards/attachments.jade +++ b/client/components/cards/attachments.jade @@ -20,13 +20,10 @@ template(name="attachmentsGalery") each attachments .attachment-item a.attachment-thumbnail.swipebox(href="{{link}}" title="{{name}}") - if isUploaded - if isImage - img.attachment-thumbnail-img(src="{{link}}") - else - span.attachment-thumbnail-ext= extension + if isImage + img.attachment-thumbnail-img(src="{{link}}") else - +spinner + span.attachment-thumbnail-ext= extension p.attachment-details = name span.attachment-details-actions