diff --git a/lib/ui_widgets/card_widget.dart b/lib/ui_widgets/card_widget.dart index 2d52110..b3754fd 100644 --- a/lib/ui_widgets/card_widget.dart +++ b/lib/ui_widgets/card_widget.dart @@ -37,12 +37,14 @@ class CardWidget extends StatelessWidget { if (card.childCards.isNotEmpty) { List children = []; card.childCards.forEach((card) { - children.add( - Flexible( - fit: FlexFit.tight, - child: card.build(context), - ) - ); + if (card.getEntitiesToShow().isNotEmpty || card.showEmpty) { + children.add( + Flexible( + fit: FlexFit.tight, + child: card.build(context), + ) + ); + } }); return Row( mainAxisSize: MainAxisSize.max,