Commit 19229837 authored by frankiejol's avatar frankiejol
Browse files

refactor(frontend): shows standalone machines

parent add37022
......@@ -190,7 +190,7 @@ ravadaApp.directive("solShowMachine", swMach)
}
for (var i=0, iLength = data.length; i<iLength; i++){
mach = data[i];
if (mach.is_base
if (mach.is_base || (!mach.id_base && !mach.has_clones)
&& (typeof $scope.list_machines[mach.id] == 'undefined'
|| $scope.list_machines[mach.id].date_changed != mach.date_changed)
){
......
Supports Markdown
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