mirror of
https://github.com/wekan/wekan.git
synced 2026-01-31 05:35:16 +01:00
parent
70ce70cf0e
commit
6b848b318d
1 changed files with 6 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue