mirror of https://github.com/Chocobozzz/PeerTube
Fix autoplay setting in my account
parent
f3c65a515b
commit
d879e48b21
|
@ -35,7 +35,7 @@ export class MyAccountVideoSettingsComponent extends FormReactive implements OnI
|
||||||
this.userInformationLoaded.subscribe(() => {
|
this.userInformationLoaded.subscribe(() => {
|
||||||
this.form.patchValue({
|
this.form.patchValue({
|
||||||
nsfwPolicy: this.user.nsfwPolicy,
|
nsfwPolicy: this.user.nsfwPolicy,
|
||||||
autoPlayVideo: this.user.autoPlayVideo === true ? 'true' : 'false'
|
autoPlayVideo: this.user.autoPlayVideo === true
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue