Skip to content

Commit ce6d4c3

Browse files
committed
fix: use _logoUrl when rendering the logo
1 parent 0617182 commit ce6d4c3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/Umbraco.Web.UI.Client/src/apps/app/app-logo.element.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,7 @@ export class UmbAppLogoElement extends UmbLitElement {
2828
return nothing;
2929
}
3030

31-
return html`
32-
<img
33-
aria-hidden="true"
34-
loading="eager"
35-
src="/umbraco/management/api/v1/security/back-office/graphics/logo"
36-
alt="logo"
37-
style="height: 100%" />
38-
`;
31+
return html`<img .src=${this._logoUrl} aria-hidden="true" loading="eager" alt="logo" style="height: 100%" />`;
3932
}
4033
}
4134

0 commit comments

Comments
 (0)