fix(core): add edit entry for mobile edition (#8173)

This commit is contained in:
L-Sun 2024-09-12 06:48:21 +00:00
parent 8e71815e46
commit 7c4eab6cd3
No known key found for this signature in database
GPG Key ID: D5C252102D2B576F

View File

@ -206,7 +206,7 @@ export const PageHeaderMenuButton = ({
setEditing(!isEditing);
}, [isEditing, page.id, page.readonly, setDocReadonly]);
const isMobile = environment.isMobileEdition;
const isMobile = environment.isMobile;
const mobileEditMenuItem = (
<MenuItem
prefixIcon={isEditing ? <SaveIcon /> : <EditIcon />}