From 78f8d930ba9ebe0513649300f8fed51e5eac341e Mon Sep 17 00:00:00 2001 From: naumov Date: Mon, 21 Oct 2024 11:59:29 +0200 Subject: [PATCH] CB-5575 change arg --- .../DataGridContextMenuCellEditingService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridContextMenu/DataGridContextMenuCellEditingService.ts b/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridContextMenu/DataGridContextMenuCellEditingService.ts index 3a39b9bfd5..6e97412423 100644 --- a/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridContextMenu/DataGridContextMenuCellEditingService.ts +++ b/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridContextMenu/DataGridContextMenuCellEditingService.ts @@ -128,7 +128,7 @@ export class DataGridContextMenuCellEditingService { onClick(context) { const source = context.data.model.source as unknown as ResultSetDataSource; const editor = source.getAction(context.data.resultIndex, ResultSetEditAction); - editor.duplicateRow(context.data.key.row); + editor.duplicateRow(context.data.key); }, }); this.dataGridContextMenuService.add(this.getMenuEditingToken(), {