mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 09:08:34 +00:00
Fix permissions page list rendering (#6271)
This commit is contained in:
parent
0565b2aacb
commit
356cef1d25
1 changed files with 11 additions and 13 deletions
|
|
@ -150,19 +150,17 @@ export const PermissionScopeItem = <
|
|||
: false;
|
||||
|
||||
return (
|
||||
<>
|
||||
<SelectItem
|
||||
key={item.value}
|
||||
value={item.value}
|
||||
disabled={isDisabled}
|
||||
data-cy={`select-option-${item.value}`}
|
||||
>
|
||||
{item.label}
|
||||
{isDisabled ? (
|
||||
<span className="block text-xs italic">Can't downgrade</span>
|
||||
) : null}
|
||||
</SelectItem>
|
||||
</>
|
||||
<SelectItem
|
||||
key={item.value}
|
||||
value={item.value}
|
||||
disabled={isDisabled}
|
||||
data-cy={`select-option-${item.value}`}
|
||||
>
|
||||
{item.label}
|
||||
{isDisabled ? (
|
||||
<span className="block text-xs italic">Can't downgrade</span>
|
||||
) : null}
|
||||
</SelectItem>
|
||||
);
|
||||
})}
|
||||
</SelectContent>
|
||||
|
|
|
|||
Loading…
Reference in a new issue