mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 03:26:47 +08:00
refactor(editor): rename model.doc to store (#12172)
This commit is contained in:
+1
-1
@@ -282,7 +282,7 @@ export class EmbedIframeErrorCard extends WithDisposable(LitElement) {
|
||||
}
|
||||
|
||||
get readonly() {
|
||||
return this.model.doc.readonly;
|
||||
return this.model.store.readonly;
|
||||
}
|
||||
|
||||
get telemetryService() {
|
||||
|
||||
+1
-1
@@ -133,7 +133,7 @@ export class EmbedIframeLinkInputBase extends WithDisposable(LitElement) {
|
||||
}
|
||||
|
||||
get store() {
|
||||
return this.model.doc;
|
||||
return this.model.store;
|
||||
}
|
||||
|
||||
get notificationService() {
|
||||
|
||||
Reference in New Issue
Block a user