From b355635d3aa090c4bd373448c4e6756fa2212653 Mon Sep 17 00:00:00 2001 From: Mario Bielert Date: Mon, 4 Nov 2024 10:43:37 +0100 Subject: [PATCH] fix missing seconds in analyze table --- src/ui/analyze-popup.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui/analyze-popup.vue b/src/ui/analyze-popup.vue index 05558c3..e5fd2e5 100644 --- a/src/ui/analyze-popup.vue +++ b/src/ui/analyze-popup.vue @@ -13,7 +13,7 @@ @@ -45,6 +45,9 @@ export default { endTimeFormatted () { return new Date(this.timestamp.end).toLocaleString() }, + durationFormatted () { + return (this.timestamp.end - this.timestamp.start) / 1000 + }, ...mapState([ 'timestamp' ])