fix: remove card stacks that don't have any cards
This commit is contained in:
parent
6ff3e669de
commit
0476ddd00b
1 changed files with 2 additions and 0 deletions
|
|
@ -278,6 +278,8 @@ impl Application for Notifications {
|
|||
HashMap::from_iter(vec![("more", c.1.len().saturating_sub(1))])
|
||||
);
|
||||
}
|
||||
self.cards.retain(|c| !c.1.is_empty());
|
||||
|
||||
Command::none()
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue