mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 13:07:17 -04:00
Merge pull request #4319 from Ben0it-T/fix-comments-for-cards-that-link-to-a-board-are-not-shown-2538
Fix comments for cards that link to a board are not shown
This commit is contained in:
commit
df61e471a1
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ BlazeComponent.extendComponent({
|
|||
if (card.isLinkedCard()) {
|
||||
boardId = Cards.findOne(card.linkedId).boardId;
|
||||
cardId = card.linkedId;
|
||||
} else if (card.isLinkedBoard()) {
|
||||
boardId = card.linkedId;
|
||||
}
|
||||
if (text) {
|
||||
CardComments.insert({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue