Skip to content

Commit

Permalink
fix(core): linked and synced doc does not need to load in shared mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Sep 13, 2024
1 parent d2cb7b7 commit 97e0089
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,10 +497,11 @@ export function patchEdgelessClipboard() {
}

@customElement('affine-linked-doc-ref-block')
// @ts-expect-error ignore private warning for overriding _load
export class LinkedDocBlockComponent extends EmbedLinkedDocBlockComponent {
override async _load() {
this.isBannerEmpty = true;
override resetState() {
return {
loading: false,
};
}
}

Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/i18n/src/resources/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1613,5 +1613,6 @@
"unnamed": "unnamed",
"upgradeBrowser": "Please upgrade to the latest version of Chrome for the best experience.",
"will be moved to Trash": "{{title}} will be moved to trash",
"will delete member": "will delete member"
"will delete member": "will delete member",
"Block not found": "Block not found"
}

0 comments on commit 97e0089

Please sign in to comment.