Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
private loc: ItemLocationService
) {}
+ clearLiCache() {
+ this.liCache = [];
+ }
+
getFleshedLineitems(ids: number[],
params: FleshCacheParams = {}): Observable<BatchLineitemStruct> {
// Refresh everything.
this.initDone = false;
this.doingActivation = false;
- this.load(false).then(_ => this.initDone = true);
+ this.load(false).then(_ => {
+ this.initDone = true;
+ this.liService.clearLiCache();
+ this.router.navigate([]);
+ });
} else {
this.progressDialog.update(