mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
(cherry picked from commit 9e015ec3b12eb2f3abe78238cc1eef6e99932592) Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
3c464e9d10
commit
635254afdc
@ -193,7 +193,7 @@ export default {
|
|||||||
spec: {
|
spec: {
|
||||||
sourceType: UPLOAD,
|
sourceType: UPLOAD,
|
||||||
displayName: '',
|
displayName: '',
|
||||||
checksum: ''
|
checksum: this.imageValue?.spec?.checksum || '',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -296,7 +296,7 @@ export default {
|
|||||||
} else if (e?.code === 'ERR_CANCELED') {
|
} else if (e?.code === 'ERR_CANCELED') {
|
||||||
this.errors.push(this.$store.getters['i18n/t']('harvester.setting.upgrade.cancelUpload'));
|
this.errors.push(this.$store.getters['i18n/t']('harvester.setting.upgrade.cancelUpload'));
|
||||||
} else {
|
} else {
|
||||||
this.errors = [e?.message] || exceptionToErrorsArray(e);
|
this.errors = exceptionToErrorsArray(e);
|
||||||
}
|
}
|
||||||
this.file = {};
|
this.file = {};
|
||||||
this.uploadImageId = '';
|
this.uploadImageId = '';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user