Merge pull request #228 from loadchange/hotfix_fe_rollback_service_list

FE rollback, service list
This commit is contained in:
Fury Zhu 2018-11-07 10:46:05 +08:00 committed by GitHub
commit d5eeb2f351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,10 +137,6 @@ class ServiceList extends React.Component {
style={{marginRight: 10}}
>{I18N.QUERY}</Button>
</FormItem>
<FormItem label="" style={{float: 'right'}}>
<Button type="secondary"
onClick={() => this.openEditServiceDialog()}>{I18N.CREATE}</Button>
</FormItem>
</Form>
</Col>
</Row>
@ -164,11 +160,6 @@ class ServiceList extends React.Component {
type="normal"
onClick={() => this.props.history.push(`/serviceDetail?name=${record.name}`)}
>{I18N.DETAIL}</Button>
<Button
style={{marginLeft: 12}}
type="normal"
onClick={() => this.deleteService(record.name)}
>{I18N.DELETE}</Button>
</div>
)}/>
</Table>