LP1958581 Copy to clipboard always available
authorBill Erickson <berickxx@gmail.com>
Thu, 20 Jan 2022 22:13:08 +0000 (17:13 -0500)
committerMike Rylander <mrylander@gmail.com>
Fri, 25 Mar 2022 20:31:01 +0000 (16:31 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/eg2/src/app/share/grid/grid-body.component.ts

index 14c6b4c..918622e 100644 (file)
@@ -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.