diff options
author | Rigel Kent <par@rigelk.eu> | 2018-03-27 13:42:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-27 13:42:57 +0200 |
commit | 1869c87535d31a73a26c5d07718cdf94300cc332 (patch) | |
tree | 0fa1823002f7a1e76e8ee138da6f5e2088f65981 /shared/models/server | |
parent | fc27b17c6b4ddaef2db8e7086d3f74c081026bd9 (diff) | |
download | PeerTube-1869c87535d31a73a26c5d07718cdf94300cc332.tar.gz PeerTube-1869c87535d31a73a26c5d07718cdf94300cc332.tar.zst PeerTube-1869c87535d31a73a26c5d07718cdf94300cc332.zip |
show quota in stats, display quota on the about page, fixes #405 (#421)
move videoQuota under a user object, use byte PipeTransform
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/server-config.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index c6fa651a8..611d0efe5 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -39,4 +39,8 @@ export interface ServerConfig { | |||
39 | extensions: string[] | 39 | extensions: string[] |
40 | } | 40 | } |
41 | } | 41 | } |
42 | |||
43 | user: { | ||
44 | videoQuota: number | ||
45 | } | ||
42 | } | 46 | } |