We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e18152 commit 0459403Copy full SHA for 0459403
src/packages/media/imaging/components/imaging-thumbnail.element.ts
@@ -65,9 +65,8 @@ export class UmbImagingThumbnailElement extends UmbLitElement {
65
66
#imagingRepository = new UmbImagingRepository(this);
67
68
- protected override async firstUpdated() {
69
- await this.#generateThumbnailUrl();
70
- this._isLoading = false;
+ protected override firstUpdated() {
+ this.#generateThumbnailUrl();
71
}
72
73
override render() {
@@ -101,7 +100,9 @@ export class UmbImagingThumbnailElement extends UmbLitElement {
101
100
this.width,
102
this.mode,
103
);
104
- this._thumbnailUrl = data[0]?.url ?? '';
+
+ this._thumbnailUrl = data[0].url ?? '';
105
+ this._isLoading = false;
106
107
108
static override styles = [
0 commit comments