mirror of
https://github.com/CorentinTh/it-tools.git
synced 2024-09-17 16:47:11 +03:00
fix: inverted done state
This commit is contained in:
parent
7e9613d11e
commit
a0c51c9f68
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user