Commit b25b6a4
committed
fix: ensure the all items selected message is always shown when applicable
state.options contains the source list, selectedItems contains all
selected items which might also be present in state.options.
Looking at the 2 lists lenghts does not work because selectedItems can
of course have other data items besides the options added from the
source list.
The fix is to check that all state.options id are found in selecteItems.1 parent 3d91dca commit b25b6a4
1 file changed
Lines changed: 9 additions & 2 deletions
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
190 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
191 | 198 | | |
192 | 199 | | |
193 | 200 | | |
| |||
0 commit comments