diff --git a/package-lock.json b/package-lock.json index 7cf0a52a..2254ecd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3404,9 +3404,9 @@ "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" }, "browser-nativefs": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/browser-nativefs/-/browser-nativefs-0.9.1.tgz", - "integrity": "sha512-Tq10NyVvwjDfbNQPvKCnhmUdyLUuHBlh1qLj6Rx4HJjA08k8HA3QtjAtqVwt/DI4DbVf3+yUvMzhH9q2htXFBQ==" + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/browser-nativefs/-/browser-nativefs-0.10.0.tgz", + "integrity": "sha512-pmG7I00vqLhPDpB+nRAHh5g4OK5Nbwwv4K0Hj7HsZGNC7MLfbj5MlnjGnsVr/ohiRv28B/jtHEiVmiBjwfjJfQ==" }, "browser-process-hrtime": { "version": "1.0.0", diff --git a/package.json b/package.json index 00e91251..96efc9d1 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@types/react": "16.9.43", "@types/react-dom": "16.9.8", "@types/socket.io-client": "1.4.33", - "browser-nativefs": "0.9.1", + "browser-nativefs": "0.10.0", "i18next-browser-languagedetector": "5.0.0", "lodash.throttle": "4.1.1", "nanoid": "2.1.11", diff --git a/src/actions/actionExport.tsx b/src/actions/actionExport.tsx index a3093ec2..eb8985ed 100644 --- a/src/actions/actionExport.tsx +++ b/src/actions/actionExport.tsx @@ -111,7 +111,9 @@ export const actionSaveAsScene = register({ title={t("buttons.saveAs")} aria-label={t("buttons.saveAs")} showAriaLabel={useIsMobile()} - hidden={!("chooseFileSystemEntries" in window)} + hidden={ + !("chooseFileSystemEntries" in window || "showOpenFilePicker" in window) + } onClick={() => updateData(null)} /> ),