web/admin: fix plex source authorization flow not being shown correctly
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
446dc0a17b
commit
767ffc09d0
|
@ -373,10 +373,10 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
|
|||
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;
|
||||
|
|
Reference in a new issue