Skip to content

Commit

Permalink
Merge branch 'master' into feat/custom-plugins-rebased-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen authored Jan 29, 2025
2 parents 42aa33a + 339f837 commit bb19d91
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [100.4.2](https://github.com/dhis2/dashboard-app/compare/v100.4.1...v100.4.2) (2025-01-22)


### Bug Fixes

* not possible to see more or search for App items when editing dashboard ([#3186](https://github.com/dhis2/dashboard-app/issues/3186)) ([04e73b8](https://github.com/dhis2/dashboard-app/commit/04e73b84314e83d14e2b83a6b3f27e4ed873685e))

## [100.4.1](https://github.com/dhis2/dashboard-app/compare/v100.4.0...v100.4.1) (2025-01-09)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dashboard-app",
"version": "100.4.1",
"version": "100.4.2",
"description": "DHIS2 Dashboard app",
"private": true,
"license": "BSD-3-Clause",
Expand Down
1 change: 1 addition & 0 deletions src/modules/itemTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export const itemTypeMap = {
supportsFullscreen: true,
},
[APP]: {
id: APP,
endPointName: 'apps',
propName: 'appKey',
pluralTitle: i18n.t('Apps'),
Expand Down
2 changes: 1 addition & 1 deletion src/pages/edit/ItemSelector/ItemSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const ItemSelector = () => {
const itemCount = getDefaultItemCount(type)
const allItems = items[itemType.endPointName]
const hasMore = allItems.length > itemCount
const displayItems = maxOptions.has(itemType.id)
const displayItems = maxOptions.has(type)
? allItems
: allItems.slice(0, itemCount)

Expand Down

0 comments on commit bb19d91

Please sign in to comment.