aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-01-23 15:25:21 +0100
committerChocobozzz <me@florianbigard.com>2023-01-23 15:25:21 +0100
commit8ca52bcc2c37d457e8b19a237c66b8dd1c00b6b9 (patch)
tree0ee8b530a2fc92e86329f77118070b003536120c /client/src
parentff71e06ad1ede135b8929c46c4b55a7dd3b65dc8 (diff)
parentb1d8261c458f5c9a800539d0aebc749e53dfcdbe (diff)
downloadPeerTube-8ca52bcc2c37d457e8b19a237c66b8dd1c00b6b9.tar.gz
PeerTube-8ca52bcc2c37d457e8b19a237c66b8dd1c00b6b9.tar.zst
PeerTube-8ca52bcc2c37d457e8b19a237c66b8dd1c00b6b9.zip
Merge branch 'release/5.0.0' into develop
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/core/users/user-local-storage.service.ts3
-rw-r--r--client/src/app/shared/shared-user-settings/user-video-settings.component.ts5
2 files changed, 6 insertions, 2 deletions
diff --git a/client/src/app/core/users/user-local-storage.service.ts b/client/src/app/core/users/user-local-storage.service.ts
index a047efe8e..d5fd1e447 100644
--- a/client/src/app/core/users/user-local-storage.service.ts
+++ b/client/src/app/core/users/user-local-storage.service.ts
@@ -125,7 +125,8 @@ export class UserLocalStorageService {
125 const localStorageKeys: { [ id in keyof UserUpdateMe ]: string } = { 125 const localStorageKeys: { [ id in keyof UserUpdateMe ]: string } = {
126 nsfwPolicy: UserLocalStorageKeys.NSFW_POLICY, 126 nsfwPolicy: UserLocalStorageKeys.NSFW_POLICY,
127 p2pEnabled: UserLocalStorageKeys.P2P_ENABLED, 127 p2pEnabled: UserLocalStorageKeys.P2P_ENABLED,
128 autoPlayNextVideo: UserLocalStorageKeys.AUTO_PLAY_VIDEO, 128 autoPlayVideo: UserLocalStorageKeys.AUTO_PLAY_VIDEO,
129 autoPlayNextVideo: UserLocalStorageKeys.AUTO_PLAY_NEXT_VIDEO,
129 autoPlayNextVideoPlaylist: UserLocalStorageKeys.AUTO_PLAY_VIDEO_PLAYLIST, 130 autoPlayNextVideoPlaylist: UserLocalStorageKeys.AUTO_PLAY_VIDEO_PLAYLIST,
130 theme: UserLocalStorageKeys.THEME, 131 theme: UserLocalStorageKeys.THEME,
131 videoLanguages: UserLocalStorageKeys.VIDEO_LANGUAGES 132 videoLanguages: UserLocalStorageKeys.VIDEO_LANGUAGES
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}