diff --git a/.gitignore b/.gitignore index eeb1e18..9cf72b2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ docs/.vuepress/.temp .next/ .expo expo-env.d.ts +next-env.d.ts .open-next .dev.vars diff --git a/admin-panel/app/[lang]/users/[authId]/page.tsx b/admin-panel/app/[lang]/users/[authId]/page.tsx index df3a0e7..b7506b7 100644 --- a/admin-panel/app/[lang]/users/[authId]/page.tsx +++ b/admin-panel/app/[lang]/users/[authId]/page.tsx @@ -556,7 +556,7 @@ const Page = () => { id={`role-${role.id}`} data-testid='roleInput' onChange={() => handleToggleUserRole(role.name)} - checked={userRoles?.includes(role.name)} + checked={userRoles?.includes(role.name) ?? false} />