diff --git a/package-lock.json b/package-lock.json index ffba98b4..0350a46f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "query-builder", - "version": "1.33.2", + "version": "1.33.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "query-builder", - "version": "1.33.2", + "version": "1.33.3", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 89bba81a..c375c020 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "query-builder", - "version": "1.33.2", + "version": "1.33.3", "description": "Introduces new user interfaces for building queries in Roam", "main": "./build/main.js", "author": { diff --git a/src/components/tldraw/Tldraw.tsx b/src/components/tldraw/Tldraw.tsx index 7521f433..4ee99ee1 100644 --- a/src/components/tldraw/Tldraw.tsx +++ b/src/components/tldraw/Tldraw.tsx @@ -579,12 +579,14 @@ const TldrawCanvas = ({ title }: Props) => { (t[2] === "destination" && !isOriginal) ? source : target; - const { title, uid } = + const { uid } = targetNode.props as DiscourseNodeShape["props"]; return [ t[0], isPageUid(uid) ? "has title" : "with uid", - isPageUid(uid) ? title : uid, + isPageUid(uid) + ? getPageTitleByPageUid(uid) + : uid, ]; } return t.slice(0);