mirror of
https://github.com/wekan/wekan.git
synced 2025-12-21 09:50:13 +01:00
Fixed per-card and per-board settings of showing checkist at minicard.
Thanks to xet7 !
This commit is contained in:
parent
ea24010298
commit
fc32a89292
11 changed files with 102 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue