Restore default resource check

pull/4159/head
Oliver Günther 9 years ago
parent 90e312e4d7
commit e8f1bbe88a
  1. 2
      frontend/app/components/api/api-v3/hal/hal-resource.service.ts

@ -95,7 +95,7 @@ function halResource(halTransform, HalLink, $q) {
element._links = {};
linked.forEach(linkName => {
if (typeof(this[linkName]) === 'object' && this[linkName].$links && !angular.isFunction(this[linkName])) {
if (this[linkName] && !angular.isFunction(this[linkName])) {
element._links[linkName] = element[linkName].$links.self.$link;
}

Loading…
Cancel
Save