diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-11 10:53:58 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-11 10:53:58 +0200 |
commit | d879e48b216d34c9f9a51b33442ce082a954ed02 (patch) | |
tree | 695be308879cf3668ce2f3466d11443e2bf37121 /client/src/app/+my-account/my-account-settings/my-account-video-settings | |
parent | f3c65a515b940d543d23b0e5420505c8d07ea50b (diff) | |
download | PeerTube-d879e48b216d34c9f9a51b33442ce082a954ed02.tar.gz PeerTube-d879e48b216d34c9f9a51b33442ce082a954ed02.tar.zst PeerTube-d879e48b216d34c9f9a51b33442ce082a954ed02.zip |
Fix autoplay setting in my account
Diffstat (limited to 'client/src/app/+my-account/my-account-settings/my-account-video-settings')
-rw-r--r-- | client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.ts b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.ts index 85b3a48cc..36556706e 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.ts +++ b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.ts | |||
@@ -35,7 +35,7 @@ export class MyAccountVideoSettingsComponent extends FormReactive implements OnI | |||
35 | this.userInformationLoaded.subscribe(() => { | 35 | this.userInformationLoaded.subscribe(() => { |
36 | this.form.patchValue({ | 36 | this.form.patchValue({ |
37 | nsfwPolicy: this.user.nsfwPolicy, | 37 | nsfwPolicy: this.user.nsfwPolicy, |
38 | autoPlayVideo: this.user.autoPlayVideo === true ? 'true' : 'false' | 38 | autoPlayVideo: this.user.autoPlayVideo === true |
39 | }) | 39 | }) |
40 | }) | 40 | }) |
41 | } | 41 | } |