From: Bill Erickson <berickxx@gmail.com>
Date: Thu, 20 Jan 2022 22:13:08 +0000 (-0500)
Subject: LP1958581 Copy to clipboard always available
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=356790a3bbbd6acaa0c1d17b7e2832372327586a;p=evergreen%2Fpines.git

LP1958581 Copy to clipboard always available

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
---

diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid-body.component.ts b/Open-ILS/src/eg2/src/app/share/grid/grid-body.component.ts
index 14c6b4c7f4..918622e2c5 100644
--- a/Open-ILS/src/eg2/src/app/share/grid/grid-body.component.ts
+++ b/Open-ILS/src/eg2/src/app/share/grid/grid-body.component.ts
@@ -115,11 +115,6 @@ export class GridBodyComponent implements OnInit {
     onRowContextClick($event, row: any, contextMenu: NgbPopover) {
         $event.preventDefault(); // prevent browser context menu
 
-        if (this.context.toolbarActions.length === 0) {
-            // No actions to render.
-            return;
-        }
-
         if (!this.context.rowIsSelected(row)) {
             // If the focused row is not selected, select it.
             // Otherwise, avoid modifying the row selection.