Card Details, hr line occured twice if any date or any user isn't displayed

This commit is contained in:
Martin Filser 2021-10-21 00:14:17 +02:00
parent 013620c862
commit 81e617a149
2 changed files with 30 additions and 13 deletions

View file

@ -865,6 +865,16 @@ Boards.helpers({
});
},
hasAnyAllowsDate() {
const ret = this.allowsReceivedDate || this.allowsStartDate || this.allowsDueDate || this.allowsEndDate;
return ret;
},
hasAnyAllowsUser() {
const ret = this.allowsCreator || this.allowsMembers || this.allowsAssignee || this.allowsRequestedBy || this.allowsAssignedBy;
return ret;
},
absoluteUrl() {
return FlowRouter.url('board', { id: this._id, slug: this.slug });
},