Skip to content

Commit c37d6fd

Browse files
committed
fix: fix record undefined in startEditCell()
1 parent 3a66bd3 commit c37d6fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/vtable/src/edit/edit-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class EditManager {
9292

9393
// group title cell do not allow edit
9494
const record = this.table.getCellRawRecord(col, row);
95-
if (record.vtableMerge) {
95+
if (record?.vtableMerge) {
9696
console.warn("VTable Warn: this is group title, can't be edited");
9797
return;
9898
}

0 commit comments

Comments
 (0)