From d96c96006f768e00ea1c12f3165703578b5358b0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 14 Sep 2021 14:38:52 +0200 Subject: [PATCH] web/admin: open URLs group when urls are customisable Signed-off-by: Jens Langhammer --- web/src/pages/sources/oauth/OAuthSourceForm.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/src/pages/sources/oauth/OAuthSourceForm.ts b/web/src/pages/sources/oauth/OAuthSourceForm.ts index e4066c85e..970e54c03 100644 --- a/web/src/pages/sources/oauth/OAuthSourceForm.ts +++ b/web/src/pages/sources/oauth/OAuthSourceForm.ts @@ -77,7 +77,7 @@ export class OAuthSourceForm extends ModelForm { if (!this.providerType?.urlsCustomizable) { return html``; } - return html` + return html` ${t`URL settings`}
{ value="${first( this.instance?.authorizationUrl, this.providerType.authorizationUrl, + "" )}" class="pf-c-form-control" required @@ -108,6 +109,7 @@ export class OAuthSourceForm extends ModelForm { value="${first( this.instance?.accessTokenUrl, this.providerType.accessTokenUrl, + "" )}" class="pf-c-form-control" required @@ -123,7 +125,7 @@ export class OAuthSourceForm extends ModelForm { >