Commit 1a63bdad authored by frankiejol's avatar frankiejol
Browse files

refactor(frontend): properly check if it is base

parent eaca73ae
......@@ -190,7 +190,7 @@ ravadaApp.directive("solShowMachine", swMach)
}
for (var i=0, iLength = data.length; i<iLength; i++){
mach = data[i];
if (!mach.id_base
if (mach.is_base
&& (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