feat(my-joy-beta): don't show names when no cns
This commit is contained in:
parent
ffb3215611
commit
5ff8d7165c
@ -145,6 +145,8 @@ const CNSContainer = ({
|
|||||||
<Margin bottom={4}>
|
<Margin bottom={4}>
|
||||||
<H3>{cnsEnabled ? 'CNS Enabled' : 'CNS Not Enabled'}</H3>
|
<H3>{cnsEnabled ? 'CNS Enabled' : 'CNS Not Enabled'}</H3>
|
||||||
</Margin>
|
</Margin>
|
||||||
|
{cnsEnabled ? (
|
||||||
|
<Fragment>
|
||||||
<FormLabel>Existing CNS service name(s)</FormLabel>
|
<FormLabel>Existing CNS service name(s)</FormLabel>
|
||||||
<Margin top={0.5}>
|
<Margin top={0.5}>
|
||||||
<TagList>
|
<TagList>
|
||||||
@ -153,6 +155,8 @@ const CNSContainer = ({
|
|||||||
))}
|
))}
|
||||||
</TagList>
|
</TagList>
|
||||||
</Margin>
|
</Margin>
|
||||||
|
</Fragment>
|
||||||
|
) : null}
|
||||||
<Button type="button" onClick={handleEdit} secondary>
|
<Button type="button" onClick={handleEdit} secondary>
|
||||||
Edit
|
Edit
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -130,7 +130,7 @@ export default compose(
|
|||||||
set({ name: 'create-instance-networks-proceeded', value: true })
|
set({ name: 'create-instance-networks-proceeded', value: true })
|
||||||
);
|
);
|
||||||
|
|
||||||
return history.push('/instances/~create/firewall');
|
return history.push('/instances/~create/cns');
|
||||||
},
|
},
|
||||||
handleEdit: () => {
|
handleEdit: () => {
|
||||||
return history.push('/instances/~create/networks');
|
return history.push('/instances/~create/networks');
|
||||||
|
Loading…
Reference in New Issue
Block a user