Compare commits

..
Author SHA1 Message Date
mergify[bot]andAndy Lee 635254afdc fix API doesn't bring checksum (#323) (#324)
(cherry picked from commit 9e015ec3b1)

Co-authored-by: Andy Lee <andy.lee@suse.com>
2025-06-03 23:16:54 +08:00
@@ -193,7 +193,7 @@ export default {
spec: {
sourceType: UPLOAD,
displayName: '',
checksum: ''
checksum: this.imageValue?.spec?.checksum || '',
},
});
},
@@ -296,7 +296,7 @@ export default {
} else if (e?.code === 'ERR_CANCELED') {
this.errors.push(this.$store.getters['i18n/t']('harvester.setting.upgrade.cancelUpload'));
} else {
this.errors = [e?.message] || exceptionToErrorsArray(e);
this.errors = exceptionToErrorsArray(e);
}
this.file = {};
this.uploadImageId = '';