This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push: new 3252337d Fix typo for #885 3252337d is described below commit 3252337da5c5503e3ab4079b6cd7a332a7f3c19f Author: Marat Gubaidullin <ma...@talismancloud.io> AuthorDate: Thu Sep 14 13:56:01 2023 -0400 Fix typo for #885 --- .../src/main/webui/src/project/container/ContainerButtons.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/karavan-web/karavan-app/src/main/webui/src/project/container/ContainerButtons.tsx b/karavan-web/karavan-app/src/main/webui/src/project/container/ContainerButtons.tsx index ed844ddc..0a799830 100644 --- a/karavan-web/karavan-app/src/main/webui/src/project/container/ContainerButtons.tsx +++ b/karavan-web/karavan-app/src/main/webui/src/project/container/ContainerButtons.tsx @@ -50,7 +50,7 @@ export function ContainerButtons (props: Props) { } } - function getDeleteConfirmation() { + function getConfirmationModal() { return (<Modal className="modal-delete" title="Confirmation" @@ -62,7 +62,7 @@ export function ContainerButtons (props: Props) { act(); setShowConfirmation(false); } - }}>Delete + }}>Confirm </Button>, <Button key="cancel" variant="link" onClick={e => setShowConfirmation(false)}>Cancel</Button> @@ -118,6 +118,6 @@ export function ContainerButtons (props: Props) { </Button> </Tooltip> </FlexItem> - {showConfirmation && getDeleteConfirmation()} + {showConfirmation && getConfirmationModal()} </Flex>); } \ No newline at end of file