Skip to content

Commit

Permalink
[front] share string queries
Browse files Browse the repository at this point in the history
  • Loading branch information
t8g committed Sep 27, 2017
1 parent 19af3a7 commit 82ddcad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/app/isari-data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ export class IsariDataService {
if (!this.labelsCache[url]) {
this.labelsCache[url] = this.http.get(url, this.getHttpOptions())
.map(response => response.json())
.share();
}

return this.labelsCache[url];
Expand Down

0 comments on commit 82ddcad

Please sign in to comment.