mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
show autosave checkbox only if fileHandle exists
This commit is contained in:
@ -252,7 +252,7 @@ export const actionToggleAutosave = register({
|
||||
};
|
||||
},
|
||||
PanelComponent: ({ appState, updateData }) =>
|
||||
supported ? (
|
||||
supported && appState.fileHandle ? (
|
||||
<label style={{ display: "flex" }}>
|
||||
<input
|
||||
type="checkbox"
|
||||
|
Reference in New Issue
Block a user