mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
show autosave checkbox only if fileHandle exists
This commit is contained in:
parent
6215256787
commit
2bf886c941
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ export const actionToggleAutosave = register({
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
PanelComponent: ({ appState, updateData }) =>
|
PanelComponent: ({ appState, updateData }) =>
|
||||||
supported ? (
|
supported && appState.fileHandle ? (
|
||||||
<label style={{ display: "flex" }}>
|
<label style={{ display: "flex" }}>
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue