Fix autoplay setting in my account

pull/707/merge
Chocobozzz 2018-06-11 10:53:58 +02:00
parent f3c65a515b
commit d879e48b21
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export class MyAccountVideoSettingsComponent extends FormReactive implements OnI
this.userInformationLoaded.subscribe(() => {
this.form.patchValue({
nsfwPolicy: this.user.nsfwPolicy,
autoPlayVideo: this.user.autoPlayVideo === true ? 'true' : 'false'
autoPlayVideo: this.user.autoPlayVideo === true
})
})
}