only show 'more' buttons for ips when there are actually ips to show
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
4783fd448f
commit
b6027a95da
@ -149,7 +149,7 @@ Ext.define('PVE.qemu.AgentIPView', {
|
||||
if (unsuccessful) {
|
||||
text = gettext('Guest Agent not running');
|
||||
} else if (me.agent && me.running) {
|
||||
if (Ext.isArray(me.nics)) {
|
||||
if (Ext.isArray(me.nics) && me.nics.length) {
|
||||
more = true;
|
||||
var ips = me.getDefaultIps(me.nics);
|
||||
if (ips.length !== 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user