Skip to content

Commit

Permalink
disable button
Browse files Browse the repository at this point in the history
Signed-off-by: Qxisylolo <[email protected]>
  • Loading branch information
Qxisylolo committed Oct 31, 2024
1 parent 7c4f5e6 commit a7d032b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,13 @@ export class SavedObjectsTable extends Component<SavedObjectsTableProps, SavedOb
/>
</EuiButtonEmpty>

<EuiButton type="submit" onClick={onConfirm} fill color="danger">
<EuiButton
type="submit"
onClick={onConfirm}
fill
color="danger"
disabled={isDeleting ? true : false}
>
{isDeleting ? (
<FormattedMessage
id="savedObjectsManagement.objectsTable.deleteSavedObjectsConfirmModal.deleteProcessButtonLabel"
Expand Down

0 comments on commit a7d032b

Please sign in to comment.