fix(my-joy-beta): fix custom image on summary
This commit is contained in:
parent
a9ef5f91ba
commit
28f44d943f
@ -158,7 +158,9 @@ export const Meta = ({
|
|||||||
</Row>,
|
</Row>,
|
||||||
<Margin top={2} bottom={3}>
|
<Margin top={2} bottom={3}>
|
||||||
<Flex>
|
<Flex>
|
||||||
<Label>{image ? titleCase(image.name) : 'Custom Image'}</Label>
|
<Label>
|
||||||
|
{image && image.name ? titleCase(image.name) : 'Custom Image'}
|
||||||
|
</Label>
|
||||||
<VerticalDivider />
|
<VerticalDivider />
|
||||||
<Label>
|
<Label>
|
||||||
{brand === 'LX'
|
{brand === 'LX'
|
||||||
@ -354,7 +356,8 @@ export default withTheme(
|
|||||||
/>
|
/>
|
||||||
<CopiableField text={instance.id} label="ID" />
|
<CopiableField text={instance.id} label="ID" />
|
||||||
<CopiableField text={instance.compute_node} label="CN UUID" />
|
<CopiableField text={instance.compute_node} label="CN UUID" />
|
||||||
{instance.image && (
|
{instance.image &&
|
||||||
|
instance.image.id && (
|
||||||
<CopiableField text={instance.image.id} label="Image UUID" />
|
<CopiableField text={instance.image.id} label="Image UUID" />
|
||||||
)}
|
)}
|
||||||
<CopiableField
|
<CopiableField
|
||||||
|
@ -2,6 +2,7 @@ query instance($name: String) {
|
|||||||
machines(name: $name) {
|
machines(name: $name) {
|
||||||
id
|
id
|
||||||
state
|
state
|
||||||
|
brand
|
||||||
name
|
name
|
||||||
created
|
created
|
||||||
updated
|
updated
|
||||||
|
Loading…
Reference in New Issue
Block a user