renamed private function

This commit is contained in:
Corrado Lombardi
2020-11-18 10:51:55 +01:00
parent c2e65e2811
commit dfc26efd12

View File

@@ -123,7 +123,7 @@ export abstract class ComColDataService<T extends CacheableObject> extends DataS
} }
public refreshCache(dso: T) { public refreshCache(dso: T) {
const parentCommunityUrl = this.parentCommunityUrl(dso as any); const parentCommunityUrl = this.parentCommunityUrlLookup(dso as any);
if (!hasValue(parentCommunityUrl)) { if (!hasValue(parentCommunityUrl)) {
return; return;
} }
@@ -136,7 +136,7 @@ export abstract class ComColDataService<T extends CacheableObject> extends DataS
}); });
} }
private parentCommunityUrl(dso: Collection | Community) { private parentCommunityUrlLookup(dso: Collection | Community) {
const parentCommunity = dso._links.parentCommunity; const parentCommunity = dso._links.parentCommunity;
return isNotEmpty(parentCommunity) ? parentCommunity.href : null; return isNotEmpty(parentCommunity) ? parentCommunity.href : null;
} }