Update browser-nativefs (#1963)

Incorporates the latest changes in the Native File System API
This commit is contained in:
Thomas Steiner 2020-07-25 15:34:51 +02:00 committed by GitHub
parent d3a38202e3
commit 880cac2359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View file

@ -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)}
/>
),