Fixed table rendering issue.

feature/appm-store/pbac
Menaka Jayawardena 7 years ago
parent 8b310786b9
commit da51c4b270

@ -223,11 +223,11 @@ class ApplicationListing extends Component {
{this.headers.map(header => { {this.headers.map(header => {
if (header.data_id === "applicationName") { if (header.data_id === "applicationName") {
return ( return (
<Col xs="5"><FormattedMessage id={header.locale} defaultMessage={header.label}/></Col>) <Col xs="5">{header.label}</Col>)
} else if (header.data_id === "image") { } else if (header.data_id === "image") {
return (<Col xs="1">{header.label}</Col>) return (<Col xs="1">{header.label}</Col>)
} }
return (<Col><FormattedMessage id={header.locale} defaultMessage={header.label}/></Col>) return (<Col>{header.label}</Col>)
})} })}
</Row> </Row>
<hr/> <hr/>

@ -44,12 +44,7 @@ class GeneralInfo extends Component {
<Label for="app-title"> <Label for="app-title">
<FormattedMessage id="Title" defaultMessage="Title"/>* <FormattedMessage id="Title" defaultMessage="Title"/>*
</Label> </Label>
<Input <Input required type="text" name="appName" id="app-title"/>
required
type="text"
name="appName"
id="app-title"
/>
</FormGroup> </FormGroup>
<FormGroup> <FormGroup>
<Label for="app-title"> <Label for="app-title">

Loading…
Cancel
Save