From 2bf886c941e41531bcd90d54c2332ea5a9716643 Mon Sep 17 00:00:00 2001 From: dwelle Date: Tue, 6 Apr 2021 21:34:18 +0200 Subject: [PATCH] show autosave checkbox only if fileHandle exists --- src/actions/actionExport.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/actionExport.tsx b/src/actions/actionExport.tsx index 63beb4457..9984735b0 100644 --- a/src/actions/actionExport.tsx +++ b/src/actions/actionExport.tsx @@ -252,7 +252,7 @@ export const actionToggleAutosave = register({ }; }, PanelComponent: ({ appState, updateData }) => - supported ? ( + supported && appState.fileHandle ? (