diff --git a/package.json b/package.json index cd1db5d45..023432d2b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.34-beta-4", + "version": "0.0.34-beta-5", "description": "Supporting common component library", "main": "dist/index.js", "scripts": { diff --git a/src/Common/ImageTags.tsx b/src/Common/ImageTags.tsx index c1ad717c6..7bbc83b86 100644 --- a/src/Common/ImageTags.tsx +++ b/src/Common/ImageTags.tsx @@ -21,6 +21,7 @@ import Tippy from '@tippyjs/react' import { Progressing } from './Progressing' export const ImageTagsContainer = ({ + // Setting it to zero in case of external pipeline ciPipelineId, artifactId, imageComment, @@ -229,7 +230,7 @@ export const ImageTagsContainer = ({ // set loading state true setLoading(true) - setImageTags(payload, ciPipelineId, artifactId) + setImageTags(payload, ciPipelineId ?? 0, artifactId) .then((res) => { const tags = res.result?.imageReleaseTags?.map((tag) => ({ id: tag.id,