Elapsed {{ ((Date.now() - mainStore.extractStartTime) / 1000).toFixed(3) }}s
+Elapsed {{ (mainStore.extractElapsedTime / 1000).toFixed(3) }}s
-Took {{ ((mainStore.extractFinishTime - mainStore.extractStartTime) / 1000).toFixed(3) }}s
+Took {{ (mainStore.extractElapsedTime / 1000).toFixed(3) }}s
diff --git a/src/stores/main.ts b/src/stores/main.ts index f53c870..188d2a8 100644 --- a/src/stores/main.ts +++ b/src/stores/main.ts @@ -16,7 +16,7 @@ export const useStore = defineStore('main', () => { const extracting = ref(false); const extractCancelled = ref(false); const extractStartTime = ref(0); - const extractFinishTime = ref(0); + const extractElapsedTime = ref(0); const extractProgress = ref(0); const extractTotal = ref(0); const extractErrors = ref