Skip to content

Commit 155d9eb

Browse files
Fix: Context menu not showing on table (#1494)
1 parent 17f5cca commit 155d9eb

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

app/components/task/browse/display/task-list-display.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<bl-table *ngIf="!quicklist"
2424
[data]="tasks"
2525
[status]="status"
26+
[commands]="commands"
2627
[(activeItem)]="activeItem"
2728
[(selection)]="selection"
2829
(scrollBottom)="scrollBottom.emit()">

src/@batch-flask/ui/table/table-row-render/table-row.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ export class TableRowRenderComponent implements OnInit, OnDestroy {
5959
this.table.openContextMenu(this);
6060
}
6161

62+
public get id() {
63+
return this.item.id;
64+
}
65+
6266
public trackColumn(index: number, column: TableColumnRef) {
6367
return column.name;
6468
}

0 commit comments

Comments
 (0)