Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
static getContent(state) {
const select = SelectObject.getState(state, PreparationCopyMoveModal.SELECT_OBJECT_ID);
const title = state.cmf.components.getIn([PreparationCopyMoveModal.DISPLAY_NAME, 'default', 'name'], '');
return {
title,
destination: select.get('selectedId', ''),
};
}