Fixed per-card and per-board settings of showing checkist at minicard.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-10-11 11:31:57 +03:00
parent ea24010298
commit fc32a89292
11 changed files with 102 additions and 2 deletions

View file

@ -196,6 +196,17 @@ Template.minicard.helpers({
},
uploadCount() {
return uploadProgressManager.getUploadCountForCard(this._id);
},
listName() {
const list = this.list();
return list ? list.title : '';
},
shouldShowListOnMinicard() {
// Show list name if either:
// 1. Board-wide setting is enabled, OR
// 2. This specific card has the setting enabled
return this.currentBoard.allowsShowListsOnMinicard || this.showListOnMinicard;
}
});