mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2025-11-29 19:08:33 +08:00
chore: publish bug (#74)
This commit is contained in:
@@ -64,7 +64,7 @@ export const Document = (props: DocumentProps) => {
|
||||
el.style.minHeight = `${scrollElement?.clientHeight - 64}px`;
|
||||
}, [onRendered]);
|
||||
|
||||
if(!document || !viewMeta.viewId || !viewMeta.workspaceId) return null;
|
||||
if (!document || !viewMeta.viewId) return null;
|
||||
|
||||
return (
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ function CollabView({ doc }: CollabViewProps) {
|
||||
className={className}
|
||||
>
|
||||
<View
|
||||
workspaceId={''}
|
||||
workspaceId={'publish'}
|
||||
doc={doc}
|
||||
readOnly={true}
|
||||
loadViewMeta={loadViewMeta}
|
||||
|
||||
Reference in New Issue
Block a user