fix: hidden attachment icon on archived cards

Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
Luka Trovic
2022-04-05 18:29:47 +02:00
committed by backportbot[bot]
parent 558ac704f5
commit a7974d32ee

View File

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