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 437444f7 fix
437444f7 is described below
commit 437444f7876e01ab595b990581fb65150acce483
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Mon Sep 16 17:05:55 2024 -0400
fix
---
karavan-app/src/main/webui/src/project/files/FilesToolbar.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/karavan-app/src/main/webui/src/project/files/FilesToolbar.tsx
b/karavan-app/src/main/webui/src/project/files/FilesToolbar.tsx
index 1721f7f7..4b9d5eeb 100644
--- a/karavan-app/src/main/webui/src/project/files/FilesToolbar.tsx
+++ b/karavan-app/src/main/webui/src/project/files/FilesToolbar.tsx
@@ -191,7 +191,7 @@ export function FileToolbar () {
<FlexItem>
<Tooltip content="Commit and push to git" position={"bottom-end"}>
<Button isLoading={isPushing ? true : undefined}
- isDisabled={!isDev}
+ isDisabled={!isDev || selectedFileNames.length === 0}
size="sm"
variant={"secondary"}
className="project-button dev-action-button"