LP1904036 items grid repair
authorBill Erickson <berickxx@gmail.com>
Thu, 15 Apr 2021 21:54:13 +0000 (17:54 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:31 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/circ/patron/items.component.ts

index 791e8f2..a97e5c3 100644 (file)
@@ -81,7 +81,8 @@ export class ItemsComponent implements OnInit, AfterViewInit {
     }
 
     tabChange(evt: NgbNavChangeEvent) {
-        setTimeout(() => this.loadTab(evt.nextId));
+        this.itemsTab = evt.nextId;
+        setTimeout(() => this.loadTab(this.itemsTab));
     }
 
     loadTab(name: string): Promise<any> {