(core) Fixing code after core merge

Summary: Fixing code after last core-merge

Test Plan: Existing

Reviewers: JakubSerafin

Reviewed By: JakubSerafin

Subscribers: JakubSerafin

Differential Revision: https://phab.getgrist.com/D4038
This commit is contained in:
Jarosław Sadziński
2023-09-12 11:33:43 +02:00
parent 775b94b15a
commit 75d6b7ab30
2 changed files with 8 additions and 2 deletions

View File

@@ -631,7 +631,7 @@ export function createViewSectionRec(this: ViewSectionRec, docModel: DocModel):
} catch (err) {
console.warn(err);
// Dispose old LinkingState in case creating the new one failed.
this._linkingState.dispose();
this._linkingState.clear();
return null;
}
}));