Commit b0cb6d2e authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

cyclades ui: Handle no missing image ids case

parent e1fd567e
......@@ -2158,6 +2158,10 @@
callback(missing_ids)
}
}
if (missing_ids.length == 0) {
callback(missing_ids);
return;
}
// start resolving missing image ids
_(missing_ids).each(function(imgid){
synnefo.storage.images.update_unknown_id(imgid, check);
......
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