1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-08-09 07:25:18 +02:00

fix: inverted done state

This commit is contained in:
ShareVB 2024-06-09 12:42:45 +02:00
parent 7e9613d11e
commit a0c51c9f68

View file

@ -135,9 +135,8 @@ async function onUpload(uploadedFile: File) {
status.value = 'processing';
try {
status.value = 'done';
hashes.value = await hashFileAsync(uploadedFile);
status.value = 'done';
}
catch (e) {
status.value = 'error';