From: Chocobozzz Date: Tue, 14 Apr 2020 07:46:42 +0000 (+0200) Subject: Fix lint X-Git-Tag: v2.2.0-rc.1~232 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8e4aff44b060ec439b04bb2e6904ea03a637db00;p=oweals%2Fpeertube.git Fix lint --- diff --git a/client/src/app/+admin/users/user-edit/user-edit.ts b/client/src/app/+admin/users/user-edit/user-edit.ts index ae208e624..6e2952c44 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.ts +++ b/client/src/app/+admin/users/user-edit/user-edit.ts @@ -94,11 +94,11 @@ export abstract class UserEdit extends FormReactive implements OnInit { protected buildQuotaOptions () { // These are used by a HTML select, so convert key into strings this.videoQuotaOptions = this.configService - .videoQuotaOptions.map(q => ({ + .videoQuotaOptions.map(q => ({ value: q.value?.toString(), label: q.label, disabled: q.disabled - })) + })) this.videoQuotaDailyOptions = this.configService .videoQuotaDailyOptions.map(q => ({