diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-19 16:43:48 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-19 16:43:48 +0200 |
commit | a10d56bafc31602dfee9b1c52bbf26ab9aca366a (patch) | |
tree | f686aa664c7ef36b0c762b26cc331926d0389f27 /client/src | |
parent | f1013131ceeee1a56f3d0c0855950c05fa0e562b (diff) | |
download | PeerTube-a10d56bafc31602dfee9b1c52bbf26ab9aca366a.tar.gz PeerTube-a10d56bafc31602dfee9b1c52bbf26ab9aca366a.tar.zst PeerTube-a10d56bafc31602dfee9b1c52bbf26ab9aca366a.zip |
Add ability to forbid user to upload video
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.ts | 1 |
1 files changed, 1 insertions, 0 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 61db8a906..657c0f1c0 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.ts +++ b/client/src/app/+admin/users/user-edit/user-edit.ts | |||
@@ -3,6 +3,7 @@ import { FormReactive } from '../../../shared' | |||
3 | export abstract class UserEdit extends FormReactive { | 3 | export abstract class UserEdit extends FormReactive { |
4 | videoQuotaOptions = [ | 4 | videoQuotaOptions = [ |
5 | { value: -1, label: 'Unlimited' }, | 5 | { value: -1, label: 'Unlimited' }, |
6 | { value: 0, label: '0'}, | ||
6 | { value: 100 * 1024 * 1024, label: '100MB' }, | 7 | { value: 100 * 1024 * 1024, label: '100MB' }, |
7 | { value: 5 * 1024 * 1024, label: '500MB' }, | 8 | { value: 5 * 1024 * 1024, label: '500MB' }, |
8 | { value: 1024 * 1024 * 1024, label: '1GB' }, | 9 | { value: 1024 * 1024 * 1024, label: '1GB' }, |