Skip to content

Commit b1c6ec0

Browse files
mohas22mohas22
authored andcommitted
enabled submit post api call
1 parent 9575c53 commit b1c6ec0

File tree

1 file changed

+3
-1
lines changed
  • packages/react-sdk-components/src/components/infra/Containers/ModalViewContainer/ListViewActionButtons

1 file changed

+3
-1
lines changed

packages/react-sdk-components/src/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,14 @@ function ListViewActionButtons(props: ListViewActionButtonsProps) {
5050
.getActionsApi()
5151
.submitEmbeddedDataModal(context)
5252
.then(() => {
53-
setIsDisabled(false);
5453
closeActionsDialog();
5554
})
5655
.catch(err => {
5756
// eslint-disable-next-line no-console
5857
console.log(err);
58+
})
59+
.finally(() => {
60+
setIsDisabled(false);
5961
});
6062
}}
6163
>

0 commit comments

Comments
 (0)