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() {
|
render() {
|
||||||
|
const brand = SdkConfig.get().brand || "Riot";
|
||||||
const brandingConfig = SdkConfig.get().branding;
|
const brandingConfig = SdkConfig.get().branding;
|
||||||
let logoUrl = "themes/riot/img/logos/riot-im-logo-black-text.svg";
|
let logoUrl = "themes/riot/img/logos/riot-im-logo-black-text.svg";
|
||||||
if (brandingConfig && brandingConfig.authHeaderLogoUrl) {
|
if (brandingConfig && brandingConfig.authHeaderLogoUrl) {
|
||||||
|
@ -37,7 +38,7 @@ export default class VectorAuthHeaderLogo extends React.PureComponent {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_AuthHeaderLogo">
|
<div className="mx_AuthHeaderLogo">
|
||||||
<img src={logoUrl} alt="Riot" />
|
<img src={logoUrl} alt={brand} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue