Skip to content

Commit

Permalink
Merge pull request #1591 from entando/ENG-5447_content_usage
Browse files Browse the repository at this point in the history
formik/ENG-5447 fix choose content button
  • Loading branch information
ichalagashvili authored Jan 26, 2024
2 parents 7bdf381 + 40d71ff commit 63f5e65
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export const mapDispatchToProps = (dispatch, ownProps) => {
};

if ((isUndefined(values.modelId) || values.modelId === 'default') && isNull(chosenContentType.defaultContentModel)) {
setSubmitting(false);
return dispatch(setVisibleModal(NoDefaultWarningModalId));
}
return dispatch(sendPutWidgetConfig(pageCode, frameId, configItem)).then((res) => {
Expand Down

0 comments on commit 63f5e65

Please sign in to comment.