Skip to content

Commit

Permalink
circ_policies ui: increase API size limit
Browse files Browse the repository at this point in the history
* Closes rero#405
* use recordsService instead of specific component

run ./setup/boostrap

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
  • Loading branch information
zannkukai committed Sep 18, 2019
1 parent c5c80a5 commit f78b0d4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ export class CirculationPolicyService {

loadOrCreateCirculationPolicy(pid: number = null) {
if (pid) {
<<<<<<< HEAD
return this.recordsService.getRecord('circ_policies', ''+pid)
=======
return this.recordsService.getRecord('circ_policies', '' + pid)
>>>>>>> circ_policies ui: increase API size limit
.pipe(
map(data => new CirculationPolicy(data.metadata))
);
Expand Down

0 comments on commit f78b0d4

Please sign in to comment.