web/admin: fix provider type resetting when changing provider type
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -141,6 +141,10 @@ export class OAuthSourceForm extends Form<OAuthSource> { | ||||
|                             } else { | ||||
|                                 this.showUrlOptions = false; | ||||
|                             } | ||||
|                             if (!this.source) { | ||||
|                                 this.source = {} as OAuthSource; | ||||
|                             } | ||||
|                             this.source.providerType = selected.value; | ||||
|                         }}> | ||||
|                             ${until(new SourcesApi(DEFAULT_CONFIG).sourcesOauthSourceTypes().then(types => { | ||||
|                                 return types.map(type => { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer