Skip to content

Commit

Permalink
constant added for superseded & hasMultipleImage
Browse files Browse the repository at this point in the history
  • Loading branch information
shivani170 committed Jan 17, 2024
1 parent ccd5a83 commit 9b22dd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Common/Common.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ const cdMaterialListModal = (artifacts: any[], offset: number, artifactId?: numb
isVirtualEnvironment: material.isVirtualEnvironment,
imageComment: material.imageComment,
imageReleaseTags: material.imageReleaseTags,
hasDuplicateImages: material.hasDuplicateImages,
isSuperseded: material.isSuperseded,
// It is going to be null but required in type so can't remove
lastExecution: material.lastExecution,
materialInfo: material.material_info
Expand Down
2 changes: 2 additions & 0 deletions src/Common/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ export interface CDMaterialType {
registryType?: string;
imagePath?: string
registryName?: string
hasDuplicateImages?: boolean
isSuperseded?: boolean
// Not even coming from API but required in CDMaterials for Security which makes its own api call but stores data in CDMaterials
scanToolId?: number
appliedFiltersTimestamp?: string
Expand Down

0 comments on commit 9b22dd6

Please sign in to comment.