Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Display instructions for using stable repo #652

Merged
merged 1 commit into from
Nov 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h1>Install</h1>
<mat-tab-group>
<mat-tab label="Helm CLI">
<div *ngIf="showRepoInstructions" class="chart-details-usage__repository">
<div class="chart-details-usage__repository">
<h2 class="chart-details-usage__label">Add {{ chart.attributes.repo.name }} repository</h2>
<mat-form-field>
<input matInput floatingPlaceholder=false [value]=repoAddInstructions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ export class ChartDetailsUsageComponent implements OnInit {
});
}

get showRepoInstructions(): boolean {
return this.chart.attributes.repo.name != 'stable';
}

get repoAddInstructions(): string {
return `helm repo add ${this.chart.attributes.repo.name} ${this.chart
.attributes.repo.url}`;
Expand Down