Skip to content

Commit 5afa4b0

Browse files
committed
add temporaryFileId to value when chaning focal point
1 parent 42f49eb commit 5afa4b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-image-cropper/input-image-cropper.element.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ export class UmbInputImageCropperElement extends UmbLitElement {
121121
return;
122122
}
123123

124+
if(this.value && this.value.temporaryFileId){
125+
value.temporaryFileId = this.value.temporaryFileId
126+
}
127+
124128
this.value = value;
125129
this.dispatchEvent(new UmbChangeEvent());
126130
}

0 commit comments

Comments
 (0)