diff --git a/package-lock.json b/package-lock.json index eebf8079..55078802 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "query-builder", - "version": "1.30.1", + "version": "1.30.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "query-builder", - "version": "1.30.1", + "version": "1.30.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index fc89e848..e1a0fbbc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "query-builder", - "version": "1.30.1", + "version": "1.30.2", "description": "Introduces new user interfaces for building queries in Roam", "main": "./build/main.js", "author": { diff --git a/src/components/Export.tsx b/src/components/Export.tsx index e3f7c601..5647589c 100644 --- a/src/components/Export.tsx +++ b/src/components/Export.tsx @@ -400,6 +400,7 @@ const ExportDialog: ExportDialogComponent = ({ const handleSendTo = async () => { try { + setLoading(true); let toastContent: React.ReactNode; let uid = selectedPageUid; const title = selectedPageTitle; @@ -467,6 +468,7 @@ const ExportDialog: ExportDialogComponent = ({ }, }).catch(() => {}); } finally { + setLoading(false); onClose(); } }; @@ -795,6 +797,7 @@ const ExportDialog: ExportDialogComponent = ({ onClick={handleSendTo} style={{ minWidth: 64 }} disabled={isSendToGraph ? !livePages.length : false} + loading={loading} />