web/admin: fix plex source authorization flow not being shown correctly
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		@ -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 New Issue
	
	Block a user