add if statement to check is objects are not equal before reassigning metadata

This commit is contained in:
Deep Tailor 2017-10-03 14:34:01 -07:00
parent 06779e6cd9
commit 7deb3cd025

View File

@ -112,7 +112,9 @@ define(
});
this.InspectorMutation.listen(function () {
if(!angular.equals($scope.metadata, $scope.ngModel.selectedObject.useCapability('metadata'))){
getMetadata();
}
});
}
return ObjectInspectorController;