Fix migrated attachment not readable bug

Remove reduandant files
This commit is contained in:
Romulus Urakagi Tsai 2020-05-20 15:11:22 +08:00
parent 09ce3e464f
commit 4064f3f406
5 changed files with 43 additions and 26 deletions

View file

@ -50,7 +50,10 @@ Template.attachmentsGalery.helpers({
return Attachments.link(this, 'original', '/');
},
isUploaded() {
return !!this.meta.uploaded;
return !this.meta.uploading;
},
isImage() {
return !!this.isImage;
},
});