show autosave checkbox only if fileHandle exists

This commit is contained in:
dwelle committed 2021-04-06 21:34:18 +02:00
1 parent 6215256787
commit 2bf886c941
1 file changed
+1 -1
+1 -1
View File
@@ -252,7 +252,7 @@ export const actionToggleAutosave = register({
};
},
PanelComponent: ({ appState, updateData }) =>
supported ? (
supported && appState.fileHandle ? (
<label style={{ display: "flex" }}>
<input
type="checkbox"