From b1d8261c458f5c9a800539d0aebc749e53dfcdbe Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 23 Jan 2023 15:24:58 +0100 Subject: Fix auto play setting for anonymous users --- .../app/shared/shared-user-settings/user-video-settings.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client/src/app/shared/shared-user-settings') diff --git a/client/src/app/shared/shared-user-settings/user-video-settings.component.ts b/client/src/app/shared/shared-user-settings/user-video-settings.component.ts index af0870f12..ed6e7fffd 100644 --- a/client/src/app/shared/shared-user-settings/user-video-settings.component.ts +++ b/client/src/app/shared/shared-user-settings/user-video-settings.component.ts @@ -127,6 +127,9 @@ export class UserVideoSettingsComponent extends FormReactive implements OnInit, private updateAnonymousProfile (details: UserUpdateMe) { this.userService.updateMyAnonymousProfile(details) - if (this.notifyOnUpdate) this.notifier.success($localize`Display/Video settings updated.`) + + if (this.notifyOnUpdate) { + this.notifier.success($localize`Display/Video settings updated.`) + } } } -- cgit v1.2.3