Commit 4eee4823 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Fix available ram options in vm create view

typo fix that caused unavailable ram options due to user quota limits to
still be shown as selectable values.
parent 08bf2ae4
......@@ -1905,7 +1905,7 @@
var ram_available = quotas['ram'];
var ram_size = el.get_ram_size();
if (index.ram.indexOf(disk_size) == -1) {
if (index.ram.indexOf(ram_size) == -1) {
var ram = el.ram_to_bytes();
if (ram > ram_available) {
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