]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.ts
Fix quota precision in users list
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-settings / my-account-video-settings / my-account-video-settings.component.ts
index 85b3a48cc728b60fb411d1913af764c345bb6717..36556706e1e8dbb042207d0c7e801543d42ccc3e 100644 (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
       })
     })
   }