Commit ba9507a
committed
refactor(headlines-feed): remove initial capsule filter logic
Remove the use of initialSelectedCountryIsoCodes and initialSelectedSourceTypes from the SourcesFilterBloc. These values were not being used correctly, as the initial country and source type capsule selections are only ephemeral to the UI of the SourceFilterPage and are not passed via the event. Instead, they are now initialized as empty sets, meaning the filter starts with all countries and source types selected by default in the UI.1 parent 058f0a5 commit ba9507a
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | | - | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments