Double-clicking a copy row in the Angular staff catalog Holdings View
now opens the copy in the copy editor.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
onRowActivate(row: any) {
if (row.copy) {
- // Launch copy editor?
+ // LP1888723 when the time comes
+ // this.router.navigate(['/staff/cat/volcopy/attrs/item/', row.copy.id());
+
+ this.holdings.spawnAddHoldingsUi(
+ this.recordId,
+ [row.copy.call_number()],
+ null,
+ [row.copy.id()]
+ );
+
} else {
this.gridTemplateContext.toggleExpandRow(row);
}