Skip to content

Commit aead9f4

Browse files
committed
When no zone name is available display a default
Backport from Cosmic
1 parent ef115ab commit aead9f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/scripts/templates.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,6 +1427,9 @@
14271427
jsonObj.xenserverToolsVersion61plus = false;
14281428
}
14291429
}
1430+
if (!'zonename' in jsonObj) {
1431+
jsonObj.zonename = 'All Zones';
1432+
}
14301433
}
14311434

14321435
args.response.success({

0 commit comments

Comments
 (0)