diff --git a/src/components/item/settings/ItemSettings.tsx b/src/components/item/settings/ItemSettings.tsx index 7b61eeb5e..17f3ae198 100644 --- a/src/components/item/settings/ItemSettings.tsx +++ b/src/components/item/settings/ItemSettings.tsx @@ -183,7 +183,7 @@ const ItemSettings: FC = ({ item }) => { id={SETTINGS_SAVE_ACTIONS_TOGGLE_ID} onChange={(e) => handleOnToggle(e, 'enableSaveActions')} checked={ - settingLocal?.enableSaveActions || DEFAULT_SAVE_ACTIONS_SETTING + settingLocal?.enableSaveActions ?? DEFAULT_SAVE_ACTIONS_SETTING } color="primary" disabled diff --git a/src/components/member/MemberProfileScreen.tsx b/src/components/member/MemberProfileScreen.tsx index e0ef5c1b1..73f3570b9 100644 --- a/src/components/member/MemberProfileScreen.tsx +++ b/src/components/member/MemberProfileScreen.tsx @@ -170,7 +170,7 @@ const MemberProfileScreen = (): JSX.Element => { id={MEMBER_PROFILE_SAVE_ACTIONS_TOGGLE_ID} onChange={handleOnToggle} checked={ - member.extra?.enableSaveActions || + member.extra?.enableSaveActions ?? DEFAULT_MEMBER_PROFILE_SAVE_ACTIONS_SETTING } color="primary"