fix: use _logoUrl when rendering the logo

This commit is contained in:
Jacob Overgaard
2024-12-06 11:17:07 +01:00
parent 0617182160
commit ce6d4c34e2

View File

@@ -28,14 +28,7 @@ export class UmbAppLogoElement extends UmbLitElement {
return nothing;
}
return html`
<img
aria-hidden="true"
loading="eager"
src="/umbraco/management/api/v1/security/back-office/graphics/logo"
alt="logo"
style="height: 100%" />
`;
return html`<img .src=${this._logoUrl} aria-hidden="true" loading="eager" alt="logo" style="height: 100%" />`;
}
}