From 40d71ffc4ab0aabc9052cb4b85f9894abf1c5d5a Mon Sep 17 00:00:00 2001 From: ichalagashvili Date: Tue, 23 Jan 2024 13:59:50 +0400 Subject: [PATCH] ENG-5447 fix choose content button --- .../SingleContentConfigContainer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/widget-forms/publish-single-content-config/SingleContentConfigContainer.js b/src/ui/widget-forms/publish-single-content-config/SingleContentConfigContainer.js index ebe9d176e..6d772cbc1 100644 --- a/src/ui/widget-forms/publish-single-content-config/SingleContentConfigContainer.js +++ b/src/ui/widget-forms/publish-single-content-config/SingleContentConfigContainer.js @@ -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) => {