refactor(views/table): fix some type errors

This commit is contained in:
Elian Doran
2025-07-04 21:31:43 +03:00
parent d08225339c
commit 3de7b81be8
2 changed files with 4 additions and 4 deletions

View File

@@ -253,7 +253,7 @@ export default class TableView extends ViewMode<StateInfo> {
this.api.replaceData(await buildRowDefinitions(this.parentNote, notes, info));
if (this.noteIdToEdit) {
const row = this.api?.getRows(true).find(r => r.getData().noteId === this.noteIdToEdit);
const row = this.api?.getRows().find(r => r.getData().noteId === this.noteIdToEdit);
if (row) {
row.getCell("title").edit();
}