static: fix sidebar header login when request isnt finished
This commit is contained in:
parent
88f1cbb29c
commit
401359a73f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -41,7 +41,10 @@ export class SidebarBrand extends LitElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return html` <a href="#/" class="pf-c-page__header-brand-link">
|
if (!this.config) {
|
||||||
|
return html``;
|
||||||
|
}
|
||||||
|
return html` <a href="" class="pf-c-page__header-brand-link">
|
||||||
<div class="pf-c-brand pb-brand">
|
<div class="pf-c-brand pb-brand">
|
||||||
<img
|
<img
|
||||||
src="${this.config?.branding_logo}"
|
src="${this.config?.branding_logo}"
|
||||||
|
|
Reference in New Issue