From 38d69d65012c8bf01bceb672be99f94fe414f275 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Dec 2021 11:32:45 +0100 Subject: Update torrents info name on video update --- client/src/app/menu/menu.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app') 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 { } getExternalLoginHref () { - if (this.serverConfig.client.menu.login.redirectOnSingleExternalAuth !== true) return undefined + if (!this.serverConfig || this.serverConfig.client.menu.login.redirectOnSingleExternalAuth !== true) return undefined const externalAuths = this.serverConfig.plugin.registeredExternalAuths if (externalAuths.length !== 1) return undefined -- cgit v1.2.3