From 69818840f63f178a1bd03eb214e9e1f7ab0eb0b6 Mon Sep 17 00:00:00 2001 From: Mohamed Marrouchi Date: Mon, 30 Sep 2024 11:21:37 +0100 Subject: [PATCH] Update frontend/src/components/languages/index.tsx Co-authored-by: Yassine <95612053+yassinedorbozgithub@users.noreply.github.com> --- frontend/src/components/languages/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/languages/index.tsx b/frontend/src/components/languages/index.tsx index bf90aa7..78b3d84 100644 --- a/frontend/src/components/languages/index.tsx +++ b/frontend/src/components/languages/index.tsx @@ -146,6 +146,7 @@ export const Languages = () => { color="primary" inputProps={{ "aria-label": "primary checkbox" }} disabled={ + params.value || !hasPermission(EntityType.LANGUAGE, PermissionAction.UPDATE) } onChange={() => {