fix(xo-web/VM): missing data prop on Copiable (#3282)

This commit is contained in:
Pierre Donias 2018-08-08 11:42:45 +02:00 committed by GitHub
parent 09a381806b
commit ce21da4146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ export default class Vm extends BaseComponent {
<Container> <Container>
<Row> <Row>
<Col mediumSize={6} className='header-title'> <Col mediumSize={6} className='header-title'>
<Copiable tagName='div'> <Copiable tagName='div' data={vm.uuid}>
<h2 style={{ display: 'inline' }}> <h2 style={{ display: 'inline' }}>
{isEmpty(vm.current_operations) ? ( {isEmpty(vm.current_operations) ? (
<Icon icon={`vm-${vm.power_state.toLowerCase()}`} /> <Icon icon={`vm-${vm.power_state.toLowerCase()}`} />