mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-22 01:16:07 +02:00
feat: remove add values for legal values (#9767)
This removes the add values nicely. 
This commit is contained in:
parent
c1bb905146
commit
e9c50a551f
@ -379,10 +379,12 @@ export const EditableConstraint: FC<Props> = ({
|
|||||||
</StyledButton>
|
</StyledButton>
|
||||||
) : null}
|
) : null}
|
||||||
</ConstraintDetails>
|
</ConstraintDetails>
|
||||||
|
{!input.includes('LEGAL_VALUES') && (
|
||||||
<ValueList
|
<ValueList
|
||||||
values={localConstraint.values}
|
values={localConstraint.values}
|
||||||
removeValue={removeValue}
|
removeValue={removeValue}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
|
|
||||||
<HtmlTooltip title='Delete constraint' arrow>
|
<HtmlTooltip title='Delete constraint' arrow>
|
||||||
<IconButton type='button' size='small' onClick={onDelete}>
|
<IconButton type='button' size='small' onClick={onDelete}>
|
||||||
|
Loading…
Reference in New Issue
Block a user