mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-07 09:36:58 +02:00
show autosave checkbox only if fileHandle exists
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user