diff --git a/frontend/src/app/chart-details/chart-details-readme/chart-details-readme.component.ts b/frontend/src/app/chart-details/chart-details-readme/chart-details-readme.component.ts index 4f3022f06..760c6f841 100644 --- a/frontend/src/app/chart-details/chart-details-readme/chart-details-readme.component.ts +++ b/frontend/src/app/chart-details/chart-details-readme/chart-details-readme.component.ts @@ -29,6 +29,10 @@ export class ChartDetailsReadmeComponent implements OnChanges { this.chartsService.getChartReadme(this.currentVersion).subscribe(resp => { this.loading = false; this.readmeContent = markdown(resp.text()); + }, + err => { + this.loading = false; + this.readmeContent = markdown("#### Readme not found!"); }); } }