mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
bug 13866
Display public IP on VM details panel if static NAT is enabled for that VM status 13866: resolved fixed
This commit is contained in:
parent
d0612151d8
commit
17b34f4678
@ -1485,6 +1485,11 @@
|
||||
else {
|
||||
hiddenFields = ["hypervisor"];
|
||||
}
|
||||
|
||||
if (!args.context.instances[0].publicip) {
|
||||
hiddenFields.push('publicip');
|
||||
}
|
||||
|
||||
return hiddenFields;
|
||||
},
|
||||
|
||||
@ -1493,6 +1498,7 @@
|
||||
id: { label: 'label.id', isEditable: false },
|
||||
displayname: { label: 'label.display.name', isEditable: true },
|
||||
state: { label: 'label.state', isEditable: false },
|
||||
publicip: { label: 'label.public.ip', isEditable: false },
|
||||
zonename: { label: 'label.zone.name', isEditable: false },
|
||||
hypervisor: { label: 'label.hypervisor', isEditable: false },
|
||||
templatename: { label: 'label.template', isEditable: false },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user