From 8e4aff44b060ec439b04bb2e6904ea03a637db00 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Apr 2020 09:46:42 +0200 Subject: Fix lint --- client/src/app/+admin/users/user-edit/user-edit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/+admin/users') 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 => ({ -- cgit v1.2.3