|
@@ -751,10 +751,7 @@ Cards.helpers({
|
|
|
|
|
|
cover() {
|
|
cover() {
|
|
if (!this.coverId) return false;
|
|
if (!this.coverId) return false;
|
|
- const cover = Attachments.findOne(this.coverId);
|
|
|
|
- // if we return a cover before it is fully stored, we will get errors when we try to display it
|
|
|
|
- // todo XXX we could return a default "upload pending" image in the meantime?
|
|
|
|
- return cover && cover.url() && cover;
|
|
|
|
|
|
+ return Attachments.findOne(this.coverId);
|
|
},
|
|
},
|
|
|
|
|
|
checklists() {
|
|
checklists() {
|