From 336bd0434912c90b495eb774732f00e4de75776d Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 26 Jun 2020 15:05:56 +0200 Subject: [PATCH] use brand instead of Riot string --- src/components/views/auth/VectorAuthHeaderLogo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/views/auth/VectorAuthHeaderLogo.js b/src/components/views/auth/VectorAuthHeaderLogo.js index 04973fe2..4e8292b6 100644 --- a/src/components/views/auth/VectorAuthHeaderLogo.js +++ b/src/components/views/auth/VectorAuthHeaderLogo.js @@ -29,6 +29,7 @@ export default class VectorAuthHeaderLogo extends React.PureComponent { } render() { + const brand = SdkConfig.get().brand || "Riot"; const brandingConfig = SdkConfig.get().branding; let logoUrl = "themes/riot/img/logos/riot-im-logo-black-text.svg"; if (brandingConfig && brandingConfig.authHeaderLogoUrl) { @@ -37,7 +38,7 @@ export default class VectorAuthHeaderLogo extends React.PureComponent { return (
- Riot + {brand}
); }