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 1a21ca28 Default tag is dev
1a21ca28 is described below

commit 1a21ca28460bd54d224222902a63769bf9c732c4
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Thu Feb 22 16:25:29 2024 -0500

    Default tag is dev
---
 .../karavan-app/src/main/webui/src/project/builder/BuildPanel.tsx    | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/karavan-web/karavan-app/src/main/webui/src/project/builder/BuildPanel.tsx 
b/karavan-web/karavan-app/src/main/webui/src/project/builder/BuildPanel.tsx
index 653aee13..4d931115 100644
--- a/karavan-web/karavan-app/src/main/webui/src/project/builder/BuildPanel.tsx
+++ b/karavan-web/karavan-app/src/main/webui/src/project/builder/BuildPanel.tsx
@@ -34,7 +34,6 @@ import DeleteIcon from 
"@patternfly/react-icons/dist/esm/icons/times-circle-icon
 import {useAppConfigStore, useLogStore, useProjectStore, useStatusesStore} 
from "../../api/ProjectStore";
 import {shallow} from "zustand/shallow";
 import {EventBus} from "../../designer/utils/EventBus";
-import {ProjectService} from "../../api/ProjectService";
 
 export function BuildPanel () {
 
@@ -47,9 +46,7 @@ export function BuildPanel () {
     const [isBuilding, setIsBuilding] = useState<boolean>(false);
     const [showDeleteConfirmation, setShowDeleteConfirmation] = 
useState<boolean>(false);
     const [deleteEntityName, setDeleteEntityName] = useState<string>();
-    const [tag, setTag] = useState<string>(
-        new Date().toISOString().substring(0,19).replaceAll(':', 
'').replaceAll('-', '')
-    );
+    const [tag, setTag] = useState<string>('dev');
 
     function deleteEntity() {
         const buildName = getBuildName();

Reply via email to