Commit aab56ca3 authored by Florent Poittevin's avatar Florent Poittevin
Browse files

fix: [DLCM-1997] detect changes after checksum computed

parent 64a67567
......@@ -350,7 +350,9 @@ export class DepositFileUploadDialog extends AbstractDepositFileUploadDialog<Dep
const checksumFunction = DepositFileUploadDialog._getChecksumFunction(algo);
checksumFunction(array).then(checksum => {
formGroup.get(this._getChecksumFormDefinition(algo, Enums.DataFile.ChecksumOriginEnum.PORTAL))?.setValue(checksum);
this._changeDetectorRef.detectChanges();
setTimeout(() => {
this._changeDetectorRef.detectChanges();
}, 0);
}).finally(() => {
formControlCounter.setValue(formControlCounter.value - 1);
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment