Skip to content

Commit

Permalink
Enabling submit post api call
Browse files Browse the repository at this point in the history
  • Loading branch information
mohas22 authored and mohas22 committed Nov 27, 2024
1 parent cf11589 commit 3a30365
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 3a30365

Please sign in to comment.