Commit bb6a67db authored by Kostas Papadimitriou's avatar Kostas Papadimitriou Committed by Christos Stavrakakis
Browse files

ui: Filter out unavailable images in vm create wizard

parent b7f34a37
......@@ -1978,7 +1978,8 @@
},
active: function() {
return this.filter(function(img){return img.get('status') != "DELETED"});
var active_states = ['available'];
return this.filter(function(img){return img.get('status') == "available"});
},
predefined: function() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment