diff --git a/src/client/components/boardComponent.tsx b/src/client/components/boardComponent.tsx index 7359b0a5f..4ee73a706 100644 --- a/src/client/components/boardComponent.tsx +++ b/src/client/components/boardComponent.tsx @@ -242,6 +242,7 @@ class BoardComponent extends React.Component { const card = new Card() card.parentId = boardTree.board.id card.properties = CardFilter.propertiesThatMeetFilterGroup(activeView.filter, board.cardProperties) + card.icon = BlockIcons.shared.randomIcon() if (boardTree.groupByProperty) { card.properties[boardTree.groupByProperty.id] = groupByValue } diff --git a/src/client/components/tableComponent.tsx b/src/client/components/tableComponent.tsx index 55ade1895..882446f3b 100644 --- a/src/client/components/tableComponent.tsx +++ b/src/client/components/tableComponent.tsx @@ -360,6 +360,7 @@ class TableComponent extends React.Component { const card = new Card() card.parentId = boardTree.board.id + card.icon = BlockIcons.shared.randomIcon() await mutator.insertBlock( card, "add card",