show autosave checkbox only if fileHandle exists
This commit is contained in:
parent
6215256787
commit
2bf886c941
@ -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…
x
Reference in New Issue
Block a user