From 6b848b318d62afe9772218febdb09c7426774f60 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 15 Oct 2025 07:15:46 +0300 Subject: [PATCH] Make sure that all cards are visible. Thanks to xet7 ! Related #5915 --- client/components/swimlanes/swimlanes.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js index 3db21c927..82e8b96e4 100644 --- a/client/components/swimlanes/swimlanes.js +++ b/client/components/swimlanes/swimlanes.js @@ -223,10 +223,9 @@ BlazeComponent.extendComponent({ } } if (Filter.hideEmpty.isSelected()) { - const swimlaneId = this.parentComponent() - .parentComponent() - .data()._id; - const cards = list.cards(swimlaneId); + // Check for cards in all swimlanes, not just the current one + // This ensures lists with cards in other swimlanes are still visible + const cards = list.cards(); if (cards.length === 0) { return false; } @@ -375,10 +374,9 @@ BlazeComponent.extendComponent({ } } if (Filter.hideEmpty.isSelected()) { - const swimlaneId = this.parentComponent() - .parentComponent() - .data()._id; - const cards = list.cards(swimlaneId); + // Check for cards in all swimlanes, not just the current one + // This ensures lists with cards in other swimlanes are still visible + const cards = list.cards(); if (cards.length === 0) { return false; }