diff options
author | Chocobozzz <me@florianbigard.com> | 2023-01-23 15:24:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-01-23 15:24:58 +0100 |
commit | b1d8261c458f5c9a800539d0aebc749e53dfcdbe (patch) | |
tree | d4989337cc1082e1661c8c8e1ac21899f78afcc4 /client/src/app/shared/shared-user-settings | |
parent | 823e411fa6e2d66258fb7bc9e617a0822190273f (diff) | |
download | PeerTube-b1d8261c458f5c9a800539d0aebc749e53dfcdbe.tar.gz PeerTube-b1d8261c458f5c9a800539d0aebc749e53dfcdbe.tar.zst PeerTube-b1d8261c458f5c9a800539d0aebc749e53dfcdbe.zip |
Fix auto play setting for anonymous users
Diffstat (limited to 'client/src/app/shared/shared-user-settings')
-rw-r--r-- | client/src/app/shared/shared-user-settings/user-video-settings.component.ts | 5 |
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 | } |