Skip to content

Commit

Permalink
ENG-5447 fix choose content button
Browse files Browse the repository at this point in the history
  • Loading branch information
ichalagashvili committed Jan 23, 2024
1 parent 201eb97 commit 40d71ff
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 40d71ff

Please sign in to comment.