fix(my-joy-beta): show instance name instead of package in summary

This commit is contained in:
Sérgio Ramos 2018-02-21 23:06:58 +00:00
parent 50c1b6e9b1
commit ffe9d2321c

View File

@ -72,7 +72,7 @@ export const Meta = ({
}) => [ }) => [
<Row middle="xs"> <Row middle="xs">
<Col xs={12}> <Col xs={12}>
<H2>{(instance.package || {}).name}</H2> <H2>{instance.name}</H2>
</Col> </Col>
</Row>, </Row>,
<Margin top={2} bottom={3}> <Margin top={2} bottom={3}>
@ -87,9 +87,11 @@ export const Meta = ({
: 'Hardware Virtual Machine'} : 'Hardware Virtual Machine'}
</Label> </Label>
<VerticalDivider /> <VerticalDivider />
<Label>{(instance.package || {}).name}</Label>
<VerticalDivider />
<Flex> <Flex>
<DotIcon <DotIcon
marginRight={remcalc(6)} right={remcalc(6)}
size={remcalc(15)} size={remcalc(15)}
color={stateColor[state]} color={stateColor[state]}
/> />