Skip to content

Commit

Permalink
Enabling submit post api call (#430)
Browse files Browse the repository at this point in the history
Co-authored-by: mohas22 <[email protected]>
  • Loading branch information
samhere06 and mohas22 authored Dec 1, 2024
1 parent cf11589 commit 29499ce
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ function ListViewActionButtons(props: ListViewActionButtonsProps) {
.getActionsApi()
.submitEmbeddedDataModal(context)
.then(() => {
setIsDisabled(false);
closeActionsDialog();
})
.catch(err => {
// eslint-disable-next-line no-console
console.log(err);
})
.finally(() => {
setIsDisabled(false);
});
}}
>
Expand Down

0 comments on commit 29499ce

Please sign in to comment.