mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
UI fix on the Permissions for (GDC)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9402 GitOrigin-RevId: bdee9bb7a67ef604474b04a761ebd59fe5150b06
This commit is contained in:
parent
22ff735370
commit
eeb879f7f3
@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
import { Checkbox } from '../../../../../new-components/Form';
|
||||
import { PermissionRootType } from './types';
|
||||
|
||||
type Props = {
|
||||
@ -19,15 +20,14 @@ export const SelectPermissionFields: React.FC<Props> = ({
|
||||
<div className="mr-sm">
|
||||
<div className="checkbox">
|
||||
<label title={title}>
|
||||
<input
|
||||
type="checkbox"
|
||||
className="legacy-input-fix disabled:bg-gray-100 disabled:cursor-not-allowed"
|
||||
<Checkbox
|
||||
checked={checked}
|
||||
value={permission}
|
||||
onChange={() => onPermissionChange(permission)}
|
||||
disabled={disabled}
|
||||
/>
|
||||
<i>{permission}</i>
|
||||
name={permission}
|
||||
onCheckedChange={() => onPermissionChange(permission)}
|
||||
>
|
||||
{permission}
|
||||
</Checkbox>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user