Merge pull request #3733 from nextcloud/backport/3692/stable24

[stable24] Fix hidden attachment icon on archived cards
This commit is contained in:
Julius Härtl
2022-04-20 18:14:13 +02:00
committed by GitHub

View File

@@ -181,6 +181,7 @@ class StackService {
if (array_key_exists($card->id, $labels)) { if (array_key_exists($card->id, $labels)) {
$cards[$cardIndex]->setLabels($labels[$card->id]); $cards[$cardIndex]->setLabels($labels[$card->id]);
} }
$cards[$cardIndex]->setAttachmentCount($this->attachmentService->count($card->getId()));
} }
$stacks[$stackIndex]->setCards($cards); $stacks[$stackIndex]->setCards($cards);
} }