mirror of
https://github.com/hexastack/hexabot
synced 2024-11-24 04:53:41 +00:00
Update frontend/src/components/languages/index.tsx
Co-authored-by: Yassine <95612053+yassinedorbozgithub@users.noreply.github.com>
This commit is contained in:
parent
357da9baf2
commit
69818840f6
@ -146,6 +146,7 @@ export const Languages = () => {
|
||||
color="primary"
|
||||
inputProps={{ "aria-label": "primary checkbox" }}
|
||||
disabled={
|
||||
params.value ||
|
||||
!hasPermission(EntityType.LANGUAGE, PermissionAction.UPDATE)
|
||||
}
|
||||
onChange={() => {
|
||||
|
Loading…
Reference in New Issue
Block a user