diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-15 14:29:28 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-15 14:32:30 +0200 |
commit | 1105696623c4b691bf2d44489ad25a752cbd8cc7 (patch) | |
tree | dea539b64cd3aab542444a4905146bbe72355d5e /client/src/app/+login/login.component.ts | |
parent | 428025432b111dcee90ba4a47eeaac8b03f4c4f6 (diff) | |
download | PeerTube-1105696623c4b691bf2d44489ad25a752cbd8cc7.tar.gz PeerTube-1105696623c4b691bf2d44489ad25a752cbd8cc7.tar.zst PeerTube-1105696623c4b691bf2d44489ad25a752cbd8cc7.zip |
Improve login page UI
Diffstat (limited to 'client/src/app/+login/login.component.ts')
-rw-r--r-- | client/src/app/+login/login.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/+login/login.component.ts b/client/src/app/+login/login.component.ts index 96754b782..2ed9be16c 100644 --- a/client/src/app/+login/login.component.ts +++ b/client/src/app/+login/login.component.ts | |||
@@ -59,6 +59,10 @@ export class LoginComponent extends FormReactive implements OnInit, AfterViewIni | |||
59 | return this.serverConfig.signup.allowed === true | 59 | return this.serverConfig.signup.allowed === true |
60 | } | 60 | } |
61 | 61 | ||
62 | get instanceName () { | ||
63 | return this.serverConfig.instance.name | ||
64 | } | ||
65 | |||
62 | onTermsClick (event: Event, instanceInformation: HTMLElement) { | 66 | onTermsClick (event: Event, instanceInformation: HTMLElement) { |
63 | event.preventDefault() | 67 | event.preventDefault() |
64 | 68 | ||