mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-26 01:17:00 +02:00
fix: only show addon delete button when editing addons (#7930)
This commit is contained in:
parent
0d97f8b7c1
commit
37dd2ebc4c
@ -430,12 +430,19 @@ export const IntegrationForm: VFC<IntegrationFormProps> = ({
|
||||
/>
|
||||
</div>
|
||||
</StyledConfigurationSection>
|
||||
<Divider />
|
||||
<section>
|
||||
<IntegrationDelete
|
||||
id={(formValues as AddonSchema).id}
|
||||
/>
|
||||
</section>
|
||||
<ConditionallyRender
|
||||
condition={editMode}
|
||||
show={
|
||||
<>
|
||||
<Divider />
|
||||
<section>
|
||||
<IntegrationDelete
|
||||
id={(formValues as AddonSchema).id}
|
||||
/>
|
||||
</section>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
</StyledContainer>
|
||||
</StyledForm>
|
||||
<IntegrationEventsModal
|
||||
|
Loading…
Reference in New Issue
Block a user