aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-14 01:38:41 +0200
committerRigel Kent <sendmemail@rigelk.eu>2020-04-14 01:38:41 +0200
commit471ee39496e2140cf7f44b70aa63d7b3afb3e9bb (patch)
tree1bac7b7d41ca558ce33785394edcf36c41ae4e05 /client/src/app/+admin
parentd6af81469ba9390ce8ce80161a7de3526ae0253d (diff)
downloadPeerTube-471ee39496e2140cf7f44b70aa63d7b3afb3e9bb.tar.gz
PeerTube-471ee39496e2140cf7f44b70aa63d7b3afb3e9bb.tar.zst
PeerTube-471ee39496e2140cf7f44b70aa63d7b3afb3e9bb.zip
Fix lint
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/users/user-edit/user-edit.ts12
1 files changed, 10 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 18ca5805f..ae208e624 100644
--- a/client/src/app/+admin/users/user-edit/user-edit.ts
+++ b/client/src/app/+admin/users/user-edit/user-edit.ts
@@ -94,10 +94,18 @@ 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 => ({ value: q.value?.toString(), label: q.label, disabled: q.disabled })) 97 .videoQuotaOptions.map(q => ({
98 value: q.value?.toString(),
99 label: q.label,
100 disabled: q.disabled
101 }))
98 102
99 this.videoQuotaDailyOptions = this.configService 103 this.videoQuotaDailyOptions = this.configService
100 .videoQuotaDailyOptions.map(q => ({ value: q.value?.toString(), label: q.label, disabled: q.disabled })) 104 .videoQuotaDailyOptions.map(q => ({
105 value: q.value?.toString(),
106 label: q.label,
107 disabled: q.disabled
108 }))
101 109
102 console.log( 110 console.log(
103 this.videoQuotaOptions, 111 this.videoQuotaOptions,