aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-actor-image
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-28 08:45:25 +0200
committerChocobozzz <me@florianbigard.com>2022-07-28 08:45:25 +0200
commitdbf49527172c6b97385481610786688effbe5c13 (patch)
tree14e5f6eb76fb6357b9b794d1a9119c27add5fd20 /client/src/app/shared/shared-actor-image
parentadc94cf09c86112051f72055852efcc977e4a04a (diff)
downloadPeerTube-dbf49527172c6b97385481610786688effbe5c13.tar.gz
PeerTube-dbf49527172c6b97385481610786688effbe5c13.tar.zst
PeerTube-dbf49527172c6b97385481610786688effbe5c13.zip
Fix broken admin page
Diffstat (limited to 'client/src/app/shared/shared-actor-image')
-rw-r--r--client/src/app/shared/shared-actor-image/actor-avatar.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-actor-image/actor-avatar.component.ts b/client/src/app/shared/shared-actor-image/actor-avatar.component.ts
index 437de1d50..5598b25f6 100644
--- a/client/src/app/shared/shared-actor-image/actor-avatar.component.ts
+++ b/client/src/app/shared/shared-actor-image/actor-avatar.component.ts
@@ -140,6 +140,6 @@ export class ActorAvatarComponent implements OnChanges {
140 const theme = Object.keys(themes) 140 const theme = Object.keys(themes)
141 .find(chars => chars.includes(initialLowercase)) 141 .find(chars => chars.includes(initialLowercase))
142 142
143 return themes[theme] 143 return themes[theme] || 'blue'
144 } 144 }
145} 145}