provider record service: add currentProviderId
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 25 Mar 2020 15:43:32 +0000 (11:43 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 25 Mar 2020 15:43:32 +0000 (11:43 -0400)
commit55571853e2f67312260097c21b2a8abb14dd3e40
tree46fd8e2c5140f82533d577d5419b937bfe9026b0
parent61d1ed41b224de4301d0396efcc4d4147a619cad
provider record service: add currentProviderId

This works around some race conditions fetching the current
provider upon initialization; we should fix this so that
current() can account for in-flight initialization or
refreshes.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/provider/provider-record.service.ts