forked from matrix/element-web
use brand instead of Riot string
This commit is contained in:
parent
76c93c8bf7
commit
336bd04349
|
@ -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 (
|
||||
<div className="mx_AuthHeaderLogo">
|
||||
<img src={logoUrl} alt="Riot" />
|
||||
<img src={logoUrl} alt={brand} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue