Skip to content

Commit d64cd04

Browse files
MayTekayaaexo-swf
authored andcommitted
fix: Refactor cropper drawer alt attributes - MEED-10058 - Meeds-io/MIPs#232 (#1969)
This change will add a few adjustments to the refined cropper drawer.
1 parent c10c607 commit d64cd04

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

portlets/src/main/webapp/vue-app/commons/components/program/ProgramImageSelector.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@
5959
:max-image-width="maxImageWidth"
6060
:no-expand-icon="noExpand"
6161
back-icon
62-
@input="updateUploadId"
63-
@data="imageData = $event" />
62+
@apply="updateImage" />
6463
</v-card>
6564
</template>
6665
<script>
@@ -143,6 +142,10 @@ export default {
143142
this.$emit('input', this.defaultImageUrl);
144143
this.$emit('deleted');
145144
},
145+
updateImage(image) {
146+
this.imageData = image.src;
147+
this.updateUploadId(image.uploadId);
148+
}
146149
},
147150
};
148151
</script>

0 commit comments

Comments
 (0)