diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-28 08:45:25 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-28 08:45:25 +0200 |
commit | dbf49527172c6b97385481610786688effbe5c13 (patch) | |
tree | 14e5f6eb76fb6357b9b794d1a9119c27add5fd20 /client/src | |
parent | adc94cf09c86112051f72055852efcc977e4a04a (diff) | |
download | PeerTube-dbf49527172c6b97385481610786688effbe5c13.tar.gz PeerTube-dbf49527172c6b97385481610786688effbe5c13.tar.zst PeerTube-dbf49527172c6b97385481610786688effbe5c13.zip |
Fix broken admin page
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/shared-actor-image/actor-avatar.component.ts | 2 |
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 | } |