mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-29 16:40:29 +03:00
fix: inverted done state
This commit is contained in:
1 parent
7e9613d11e
commit
a0c51c9f68
1 file changed
+1
-2
@@ -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';
|
||||||
|
|||||||
Reference in new issue
Block a user