Fix wrong status object in elements
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -124,9 +124,8 @@ app.factory('ApiService', function($http, $q){
|
||||
} else {
|
||||
Object.keys(entity).forEach(function (key) {
|
||||
element[key] = entity[key];
|
||||
if(element[key]!==null)
|
||||
element[key].status = {};
|
||||
});
|
||||
element.status = {};
|
||||
}
|
||||
};
|
||||
ApiService.prototype.remove = function(id) {
|
||||
|
||||
Reference in New Issue
Block a user