Skip to content

Commit

Permalink
enabled 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 9575c53 commit b1c6ec0
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 b1c6ec0

Please sign in to comment.