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:
Ken Sternberg 2024-01-08 13:20:03 -08:00
commit 79da411f10
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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}`;
} }