diff --git a/src/portal/src/app/base/project/helm-chart/helm-chart-detail/helm-chart.service.ts b/src/portal/src/app/base/project/helm-chart/helm-chart-detail/helm-chart.service.ts index ca3415561..faa927991 100644 --- a/src/portal/src/app/base/project/helm-chart/helm-chart-detail/helm-chart.service.ts +++ b/src/portal/src/app/base/project/helm-chart/helm-chart-detail/helm-chart.service.ts @@ -177,8 +177,9 @@ export class HelmChartDefaultService extends HelmChartService { responseType: 'blob', }) .pipe(map(response => { + let parts = filename.split('/') return { - filename: filename.split('/')[1], + filename: parts[parts.length-1], data: response }; }))