diff --git a/web/src/pages/stages/invitation/InvitationListLink.ts b/web/src/pages/stages/invitation/InvitationListLink.ts index 8ff9c8682..8af265728 100644 --- a/web/src/pages/stages/invitation/InvitationListLink.ts +++ b/web/src/pages/stages/invitation/InvitationListLink.ts @@ -48,6 +48,9 @@ export class InvitationListLink extends LitElement { designation: FlowsInstancesListDesignationEnum.Enrollment, }) .then((flows) => { + if (!this.selectedFlow && flows.results.length > 0) { + this.selectedFlow = flows.results[0].slug; + } return flows.results.map((flow) => { return html`