aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/users
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-09 11:45:19 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commit7cd4d2ba10106c10602c86f74f55743ded588896 (patch)
tree81f0dd7a7ef763511158d1035f3e09e09d5dcd2c /client/src/app/shared/users
parent8d76959e11ab7172040853fa4fadaf8d53e6aa12 (diff)
downloadPeerTube-7cd4d2ba10106c10602c86f74f55743ded588896.tar.gz
PeerTube-7cd4d2ba10106c10602c86f74f55743ded588896.tar.zst
PeerTube-7cd4d2ba10106c10602c86f74f55743ded588896.zip
WIP plugins: add theme support
Diffstat (limited to 'client/src/app/shared/users')
-rw-r--r--client/src/app/shared/users/user.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/shared/users/user.model.ts b/client/src/app/shared/users/user.model.ts
index 95a6ce9f9..53809f82c 100644
--- a/client/src/app/shared/users/user.model.ts
+++ b/client/src/app/shared/users/user.model.ts
@@ -26,6 +26,8 @@ export class User implements UserServerModel {
26 videoChannels: VideoChannel[] 26 videoChannels: VideoChannel[]
27 createdAt: Date 27 createdAt: Date
28 28
29 theme: string
30
29 adminFlags?: UserAdminFlag 31 adminFlags?: UserAdminFlag
30 32
31 blocked: boolean 33 blocked: boolean
@@ -49,6 +51,8 @@ export class User implements UserServerModel {
49 this.autoPlayVideo = hash.autoPlayVideo 51 this.autoPlayVideo = hash.autoPlayVideo
50 this.createdAt = hash.createdAt 52 this.createdAt = hash.createdAt
51 53
54 this.theme = hash.theme
55
52 this.adminFlags = hash.adminFlags 56 this.adminFlags = hash.adminFlags
53 57
54 this.blocked = hash.blocked 58 this.blocked = hash.blocked