Add ability to forbid user to upload video
This commit is contained in:
parent
f1013131ce
commit
a10d56bafc
|
@ -3,6 +3,7 @@ import { FormReactive } from '../../../shared'
|
||||||
export abstract class UserEdit extends FormReactive {
|
export abstract class UserEdit extends FormReactive {
|
||||||
videoQuotaOptions = [
|
videoQuotaOptions = [
|
||||||
{ value: -1, label: 'Unlimited' },
|
{ value: -1, label: 'Unlimited' },
|
||||||
|
{ value: 0, label: '0'},
|
||||||
{ value: 100 * 1024 * 1024, label: '100MB' },
|
{ value: 100 * 1024 * 1024, label: '100MB' },
|
||||||
{ value: 5 * 1024 * 1024, label: '500MB' },
|
{ value: 5 * 1024 * 1024, label: '500MB' },
|
||||||
{ value: 1024 * 1024 * 1024, label: '1GB' },
|
{ value: 1024 * 1024 * 1024, label: '1GB' },
|
||||||
|
|
Loading…
Reference in New Issue