Skip to content

Commit

Permalink
display chart name in new deploy page
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Mar 21, 2018
1 parent bd7ed24 commit 7ef691a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dashboard/src/components/AppNew/AppNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ 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 @@ -134,6 +135,11 @@ class AppNew extends React.Component<IAppNewProps, IAppNewState> {
<form className="container" onSubmit={this.handleDeploy}>
<div className="row">
<div className="col-8">
<div>
<h2>
{chartAttrs.repo.name}/{chartAttrs.name}
</h2>
</div>
<div>
<label htmlFor="releaseName">Name</label>
<input
Expand Down

0 comments on commit 7ef691a

Please sign in to comment.