static: fix sidebar header login when request isnt finished
This commit is contained in:
parent
88f1cbb29c
commit
401359a73f
2
passbook/static/static/dist/main.js
vendored
2
passbook/static/static/dist/main.js
vendored
File diff suppressed because one or more lines are too long
2
passbook/static/static/dist/main.js.map
vendored
2
passbook/static/static/dist/main.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -41,7 +41,10 @@ export class SidebarBrand extends LitElement {
|
|||
}
|
||||
|
||||
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">
|
||||
<img
|
||||
src="${this.config?.branding_logo}"
|
||||
|
|
Reference in a new issue