From 767ffc09d05458001ea048c223c9006524ce022a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 21 Jan 2023 14:55:13 +0100 Subject: [PATCH] web/admin: fix plex source authorization flow not being shown correctly Signed-off-by: Jens Langhammer --- web/src/admin/sources/plex/PlexSourceForm.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/admin/sources/plex/PlexSourceForm.ts b/web/src/admin/sources/plex/PlexSourceForm.ts index 7f5d67e93..5b7abca9b 100644 --- a/web/src/admin/sources/plex/PlexSourceForm.ts +++ b/web/src/admin/sources/plex/PlexSourceForm.ts @@ -373,10 +373,10 @@ export class PlexSourceForm extends ModelForm { return flow?.pk; }} .selected=${(flow: Flow): boolean => { - let selected = this.instance?.enrollmentFlow === flow.pk; + let selected = this.instance?.authenticationFlow === flow.pk; if ( !this.instance?.pk && - !this.instance?.enrollmentFlow && + !this.instance?.authenticationFlow && flow.slug === "default-source-authentication" ) { selected = true;