Fix a few undefined records (#580)

This commit is contained in:
rkfg
2024-07-18 21:38:46 +03:00
committed by GitHub
parent eb626a7e9e
commit 77cc936710
3 changed files with 3 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ const UserEditActions = () => {
return (
<TopToolbar>
{!record.deactivated && <ServerNoticeButton />}
{!record?.deactivated && <ServerNoticeButton />}
<DeleteButton
label="resources.users.action.erase"
confirmTitle={translate("resources.users.helper.erase", {