aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/users/user.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/core/users/user.model.ts')
-rw-r--r--client/src/app/core/users/user.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/core/users/user.model.ts b/client/src/app/core/users/user.model.ts
index 31b9c2152..6a56786d9 100644
--- a/client/src/app/core/users/user.model.ts
+++ b/client/src/app/core/users/user.model.ts
@@ -149,4 +149,8 @@ export class User implements UserServerModel {
149 updateAccountAvatar (newAccountAvatar: Avatar) { 149 updateAccountAvatar (newAccountAvatar: Avatar) {
150 this.account.updateAvatar(newAccountAvatar) 150 this.account.updateAvatar(newAccountAvatar)
151 } 151 }
152
153 isUploadDisabled () {
154 return this.videoQuota === 0 || this.videoQuotaDaily === 0
155 }
152} 156}