Skip to content

Commit

Permalink
use the value of chartID to display the chart name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Mar 22, 2018
1 parent c636f36 commit a757482
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dashboard/src/components/AppNew/AppNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ class AppNew extends React.Component<IAppNewProps, IAppNewState> {
if (!version || !appValues || !versions.length) {
return <div>Loading</div>;
}
const chartAttrs = version.relationships.chart.data;
let bindingDetail = <div />;
if (selectedBinding) {
const {
Expand Down Expand Up @@ -137,9 +136,7 @@ class AppNew extends React.Component<IAppNewProps, IAppNewState> {
<div className="row">
<div className="col-8">
<div>
<h2>
{chartAttrs.repo.name}/{chartAttrs.name}
</h2>
<h2>{this.props.chartID}</h2>
</div>
<div>
<label htmlFor="releaseName">Name</label>
Expand Down

0 comments on commit a757482

Please sign in to comment.