mirror of https://github.com/Chocobozzz/PeerTube
Fix broken admin page
parent
adc94cf09c
commit
dbf4952717
|
@ -140,6 +140,6 @@ export class ActorAvatarComponent implements OnChanges {
|
||||||
const theme = Object.keys(themes)
|
const theme = Object.keys(themes)
|
||||||
.find(chars => chars.includes(initialLowercase))
|
.find(chars => chars.includes(initialLowercase))
|
||||||
|
|
||||||
return themes[theme]
|
return themes[theme] || 'blue'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue