mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-17 01:17:29 +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>
|
||||
) : null}
|
||||
</ConstraintDetails>
|
||||
<ValueList
|
||||
values={localConstraint.values}
|
||||
removeValue={removeValue}
|
||||
/>
|
||||
{!input.includes('LEGAL_VALUES') && (
|
||||
<ValueList
|
||||
values={localConstraint.values}
|
||||
removeValue={removeValue}
|
||||
/>
|
||||
)}
|
||||
|
||||
<HtmlTooltip title='Delete constraint' arrow>
|
||||
<IconButton type='button' size='small' onClick={onDelete}>
|
||||
|
Loading…
Reference in New Issue
Block a user