mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-27 10:50:10 +03:00
Bug #4350: Filter out VR templates in cloud view
This commit is contained in:
parent
e05d355598
commit
900de144e1
@ -80,6 +80,12 @@ define(function(require) {
|
||||
timeout: true,
|
||||
success: function (request, item_list){
|
||||
datatable.fnClearTable(true);
|
||||
|
||||
item_list = item_list.filter(function(tmpl){
|
||||
return (tmpl.VMTEMPLATE.TEMPLATE.VROUTER == undefined ||
|
||||
tmpl.VMTEMPLATE.TEMPLATE.VROUTER.toUpperCase() != "YES");
|
||||
});
|
||||
|
||||
if (item_list.length == 0) {
|
||||
datatable.html('<div class="text-center">'+
|
||||
'<span class="fa-stack fa-5x">'+
|
||||
|
Loading…
x
Reference in New Issue
Block a user