Merge branch 'dev' into web/config-provider-2a-branded
* dev: web: Replace calls to `rootInterface()?.tenant?` with a contextual `this.tenant` object (#7778)
This commit is contained in:
commit
79da411f10
|
@ -65,6 +65,7 @@ export class SidebarBrand extends WithBrandConfig(AKElement) {
|
||||||
}
|
}
|
||||||
|
|
||||||
render(): TemplateResult {
|
render(): TemplateResult {
|
||||||
|
console.log(this.brand);
|
||||||
return html` ${window.innerWidth <= MIN_WIDTH
|
return html` ${window.innerWidth <= MIN_WIDTH
|
||||||
? html`
|
? html`
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -205,7 +205,7 @@ export class RacInterface extends Interface {
|
||||||
}
|
}
|
||||||
|
|
||||||
updateTitle(): void {
|
updateTitle(): void {
|
||||||
let title = this.tenant?.brandingTitle || TITLE_DEFAULT;
|
let title = this.brand?.brandingTitle || TITLE_DEFAULT;
|
||||||
if (this.endpointName) {
|
if (this.endpointName) {
|
||||||
title = `${this.endpointName} - ${title}`;
|
title = `${this.endpointName} - ${title}`;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue