aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-01-23 15:24:58 +0100
committerChocobozzz <me@florianbigard.com>2023-01-23 15:24:58 +0100
commitb1d8261c458f5c9a800539d0aebc749e53dfcdbe (patch)
treed4989337cc1082e1661c8c8e1ac21899f78afcc4 /client/src/app/shared
parent823e411fa6e2d66258fb7bc9e617a0822190273f (diff)
downloadPeerTube-b1d8261c458f5c9a800539d0aebc749e53dfcdbe.tar.gz
PeerTube-b1d8261c458f5c9a800539d0aebc749e53dfcdbe.tar.zst
PeerTube-b1d8261c458f5c9a800539d0aebc749e53dfcdbe.zip
Fix auto play setting for anonymous users
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/shared-user-settings/user-video-settings.component.ts5
1 files changed, 4 insertions, 1 deletions
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,
127 127
128 private updateAnonymousProfile (details: UserUpdateMe) { 128 private updateAnonymousProfile (details: UserUpdateMe) {
129 this.userService.updateMyAnonymousProfile(details) 129 this.userService.updateMyAnonymousProfile(details)
130 if (this.notifyOnUpdate) this.notifier.success($localize`Display/Video settings updated.`) 130
131 if (this.notifyOnUpdate) {
132 this.notifier.success($localize`Display/Video settings updated.`)
133 }
131 } 134 }
132} 135}