mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-04 21:37:11 -04:00
fix: inverted done state
This commit is contained in:
parent
7e9613d11e
commit
a0c51c9f68
1 changed files with 1 additions and 2 deletions
|
@ -135,9 +135,8 @@ async function onUpload(uploadedFile: File) {
|
||||||
|
|
||||||
status.value = 'processing';
|
status.value = 'processing';
|
||||||
try {
|
try {
|
||||||
status.value = 'done';
|
|
||||||
|
|
||||||
hashes.value = await hashFileAsync(uploadedFile);
|
hashes.value = await hashFileAsync(uploadedFile);
|
||||||
|
status.value = 'done';
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
status.value = 'error';
|
status.value = 'error';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue