diff --git a/src/components/Dialogs/FixedDimension.js b/src/components/Dialogs/FixedDimension.js index 15587f6d9..bc90ee2fe 100644 --- a/src/components/Dialogs/FixedDimension.js +++ b/src/components/Dialogs/FixedDimension.js @@ -218,7 +218,7 @@ const FixedDimension = ({ onSelect: selectUiItems, } - const selected = selectedItemsIds // TODO: Refactor to not depend on the whole metadata object, but pass in full ouObjects (mapped with metadata) instead of just ids + const selected = selectedItemsIds .filter( (id) => metadata[ouIdHelper.removePrefix(id)] !== undefined