aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-08 11:32:45 +0100
committerChocobozzz <me@florianbigard.com>2021-12-08 16:12:49 +0100
commit38d69d65012c8bf01bceb672be99f94fe414f275 (patch)
tree80ba6d43c4ce7ccff0c64d0c0817f43cc02a6531 /client/src/app
parent9b293cd6a2ce9ed1e1ccd41adbf7f2dbe2da8231 (diff)
downloadPeerTube-38d69d65012c8bf01bceb672be99f94fe414f275.tar.gz
PeerTube-38d69d65012c8bf01bceb672be99f94fe414f275.tar.zst
PeerTube-38d69d65012c8bf01bceb672be99f94fe414f275.zip
Update torrents info name on video update
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/menu/menu.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/menu/menu.component.ts b/client/src/app/menu/menu.component.ts
index bcc884878..d5ddc29cb 100644
--- a/client/src/app/menu/menu.component.ts
+++ b/client/src/app/menu/menu.component.ts
@@ -131,7 +131,7 @@ export class MenuComponent implements OnInit {
131 } 131 }
132 132
133 getExternalLoginHref () { 133 getExternalLoginHref () {
134 if (this.serverConfig.client.menu.login.redirectOnSingleExternalAuth !== true) return undefined 134 if (!this.serverConfig || this.serverConfig.client.menu.login.redirectOnSingleExternalAuth !== true) return undefined
135 135
136 const externalAuths = this.serverConfig.plugin.registeredExternalAuths 136 const externalAuths = this.serverConfig.plugin.registeredExternalAuths
137 if (externalAuths.length !== 1) return undefined 137 if (externalAuths.length !== 1) return undefined