Skip to content

Commit 03f05ee

Browse files
authored
feat: Adding a unique ID to every integration auth and save buttons (#7562)
1 parent 38a4a8a commit 03f05ee

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

frontend/web/components/modals/CreateEditIntegrationModal.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,11 @@ const CreateEditIntegration: FC<CreateEditIntegrationProps> = (props) => {
513513
(!formData.flagsmithEnvironment && integration.perEnvironment) ||
514514
(requiresProjectSelection && !selectedProjectId)
515515
}
516+
id={
517+
integration.isOauth && !authorised
518+
? `integration-authorise-${id}`
519+
: `integration-saved-${id}`
520+
}
516521
type='submit'
517522
>
518523
{integration.isOauth && !authorised ? 'Authorise' : 'Save'}

0 commit comments

Comments
 (0)