diff --git a/web/src/pages/sources/plex/PlexSourceForm.ts b/web/src/pages/sources/plex/PlexSourceForm.ts index d8b68c293..404f83d44 100644 --- a/web/src/pages/sources/plex/PlexSourceForm.ts +++ b/web/src/pages/sources/plex/PlexSourceForm.ts @@ -76,6 +76,40 @@ export class PlexSourceForm extends ModelForm { this.plexResources = await new PlexAPIClient(this.plexToken).getServers(); } + renderSettings(): TemplateResult { + if (!this.plexToken) { + return html` + `; + } + return html` +
+ + +
+
+ + +

${t`Select which server a user has to be a member of to be allowed to authenticate.`}

+

${t`Hold control/command to select multiple items.`}

+
`; + } + renderForm(): TemplateResult { return html`
{ name="clientId"> - -
- - -
-
- - -

${t`Select which server a user has to be a member of to be allowed to authenticate.`}

-

${t`Hold control/command to select multiple items.`}

-

- -

-
+ ${this.renderSettings()}