Commit 92d1244
authored
Update osa2e.md
Filter is not included in the code preceding the paragraph.
Also when the code is first ran showAll is initialized to true so the filter part in the real definition of notesToShow is not reached.
When notes == null the map causes an error.1 parent bac6d16 commit 92d1244
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
0 commit comments