As noted in issue #529 , card counts in the card list fail to update when filters are changed, resulting in components displaying card counts from before the filter changes.
This is caused by a computed signal which updates when the deck contents change but not when the current card changes.
By switching to having the component update based on the card provided to the component rather than relying on the computed signal to detect a change in the deck, this issue is bypassed.
As noted in issue #529 , card counts in the card list fail to update when filters are changed, resulting in components displaying card counts from before the filter changes.
This is caused by a computed signal which updates when the deck contents change but not when the current card changes.
By switching to having the component update based on the card provided to the component rather than relying on the computed signal to detect a change in the deck, this issue is bypassed.