aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/users
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-14 09:46:42 +0200
committerChocobozzz <me@florianbigard.com>2020-04-14 09:46:42 +0200
commit8e4aff44b060ec439b04bb2e6904ea03a637db00 (patch)
treed210efdd0784946a650c78609ad3838811afa1c7 /client/src/app/+admin/users
parentf940e81469928009e04b72866abba0d5845770d9 (diff)
downloadPeerTube-8e4aff44b060ec439b04bb2e6904ea03a637db00.tar.gz
PeerTube-8e4aff44b060ec439b04bb2e6904ea03a637db00.tar.zst
PeerTube-8e4aff44b060ec439b04bb2e6904ea03a637db00.zip
Fix lint
Diffstat (limited to 'client/src/app/+admin/users')
-rw-r--r--client/src/app/+admin/users/user-edit/user-edit.ts4
1 files changed, 2 insertions, 2 deletions
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 {
94 protected buildQuotaOptions () { 94 protected buildQuotaOptions () {
95 // These are used by a HTML select, so convert key into strings 95 // These are used by a HTML select, so convert key into strings
96 this.videoQuotaOptions = this.configService 96 this.videoQuotaOptions = this.configService
97 .videoQuotaOptions.map(q => ({ 97 .videoQuotaOptions.map(q => ({
98 value: q.value?.toString(), 98 value: q.value?.toString(),
99 label: q.label, 99 label: q.label,
100 disabled: q.disabled 100 disabled: q.disabled
101 })) 101 }))
102 102
103 this.videoQuotaDailyOptions = this.configService 103 this.videoQuotaDailyOptions = this.configService
104 .videoQuotaDailyOptions.map(q => ({ 104 .videoQuotaDailyOptions.map(q => ({