Display labels in image info

pull/25/head
Scott Lillibridge 2017-05-11 09:17:56 -07:00
parent 015eb94b0f
commit d5efb86d83
1 changed files with 11 additions and 0 deletions

View File

@ -60,6 +60,17 @@ export default class RepoConfig extends React.Component {
))}
</div>
</div>
<hr/>
<div className="row">
<div className="col-md-3">
<b>Lables:</b>
</div>
<div className="col-md-9">
{this.props.config.Labels && Object.keys(this.props.config.Labels).map((label, index) => (
<div key={index}>{label} : {this.props.config.Labels[label]}</div>
))}
</div>
</div>
</div>
);
}