From d879e48b216d34c9f9a51b33442ce082a954ed02 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 11 Jun 2018 10:53:58 +0200 Subject: Fix autoplay setting in my account --- .../my-account-video-settings/my-account-video-settings.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app') 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 this.userInformationLoaded.subscribe(() => { this.form.patchValue({ nsfwPolicy: this.user.nsfwPolicy, - autoPlayVideo: this.user.autoPlayVideo === true ? 'true' : 'false' + autoPlayVideo: this.user.autoPlayVideo === true }) }) } -- cgit v1.2.3