diff --git a/tldraw/apps/tldraw-logseq/src/lib/shapes/LogseqPortalShape.tsx b/tldraw/apps/tldraw-logseq/src/lib/shapes/LogseqPortalShape.tsx index 4e005bc8b2..38d693db70 100644 --- a/tldraw/apps/tldraw-logseq/src/lib/shapes/LogseqPortalShape.tsx +++ b/tldraw/apps/tldraw-logseq/src/lib/shapes/LogseqPortalShape.tsx @@ -347,7 +347,7 @@ export class LogseqPortalShape extends TLBoxShape { }) ReactComponent = observer((componentProps: TLComponentProps) => { - const { events, isErasing, isEditing, isBinding } = componentProps + const { events, isErasing, isEditing, isBinding, isLocked } = componentProps const { props: { opacity, pageId, fill, scaleLevel, strokeWidth, size }, } = this @@ -518,7 +518,7 @@ export class LogseqPortalShape extends TLBoxShape { {targetNotFound &&
Target not found
} {showingPortal && } - {!app.readOnly && ( + {!app.readOnly && isLocked && (