Update frontend/src/components/languages/index.tsx

Co-authored-by: Yassine <95612053+yassinedorbozgithub@users.noreply.github.com>
This commit is contained in:
Mohamed Marrouchi 2024-09-30 11:21:37 +01:00 committed by GitHub
parent 357da9baf2
commit 69818840f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -146,6 +146,7 @@ export const Languages = () => {
color="primary"
inputProps={{ "aria-label": "primary checkbox" }}
disabled={
params.value ||
!hasPermission(EntityType.LANGUAGE, PermissionAction.UPDATE)
}
onChange={() => {