Commit 72cacc6
authored
fix: not possible to see more or search for App items when creating dashboard (#3187)
Fixes DHIS2-18835
Fix: the Item selector list is populated based on the item type, but for some reason
the code for setting which types should "Show more" was using itemType.id, which APP lacked.
Now, it will consistently check the type rather than id. But also, the id property for APP
was added to the itemTypes object, for code consistency.1 parent 15cde91 commit 72cacc6
File tree
2 files changed
+2
-1
lines changed- src
- modules
- pages/edit/ItemSelector
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments