refactor(editor): should not rely on doc collection type (#9501)

This commit is contained in:
Saul-Mirone committed 2025-01-03 06:30:27 +00:00
1 parent cb5d7eaabc
commit 897c7d4284
55 files changed
+200 -158

No files matched your search

@@ -221,7 +221,7 @@ export class AffineReference extends WithDisposable(ShadowlessElement) {
const doc = this.doc;
if (doc) {
this._disposables.add(
doc.collection.slots.docUpdated.on(() => this._updateRefMeta(doc))
doc.collection.slots.docListUpdated.on(() => this._updateRefMeta(doc))
);
}