mirror of
https://github.com/docmost/docmost.git
synced 2026-08-30 10:26:25 +08:00
fix: change permissions object shape
This commit is contained in:
@@ -132,7 +132,7 @@ export function BaseEmbedView({ node, editor, deleteNode }: NodeViewProps) {
|
||||
<BaseView
|
||||
pageId={pageId}
|
||||
embedded
|
||||
editable={hasBases && editor.isEditable && (base?.canEdit ?? false)}
|
||||
editable={hasBases && editor.isEditable && (base?.permissions?.canEdit ?? false)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user