static: fix sidebar header login when request isnt finished

This commit is contained in:
Jens Langhammer 2020-11-23 12:32:01 +01:00
parent 88f1cbb29c
commit 401359a73f
3 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

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