mirror of
https://github.com/goharbor/harbor
synced 2025-04-16 00:35:52 +00:00
Fix helm chart getImageLink was deleted by accident
add back getImageLink function
This commit is contained in:
parent
bc6d7b69e7
commit
8d66f057cd
|
@ -290,6 +290,14 @@ export class ChartVersionComponent implements OnInit {
|
|||
}
|
||||
}
|
||||
|
||||
getImgLink(v: HelmChartVersion) {
|
||||
if (v.icon) {
|
||||
return v.icon;
|
||||
} else {
|
||||
return DefaultHelmIcon;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
getDefaultIcon(v: HelmChartVersion) {
|
||||
v.icon = this.chartDefaultIcon;
|
||||
|
|
Loading…
Reference in New Issue
Block a user