mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 06:16:59 +08:00
refactor(editor): rename model.doc to store (#12172)
This commit is contained in:
@@ -182,7 +182,7 @@ export class AttachmentViewerPanel extends SignalWatcher(
|
||||
console.debug('connected');
|
||||
this.#state.value = State.Connected;
|
||||
|
||||
const blob = await model.doc.blobSync.get(model.props.sourceId!);
|
||||
const blob = await model.store.blobSync.get(model.props.sourceId!);
|
||||
|
||||
if (!blob) return;
|
||||
const buffer = await blob.arrayBuffer();
|
||||
|
||||
Reference in New Issue
Block a user