From 43db528fa9857ff036edfdac264234a48dcf1fca Mon Sep 17 00:00:00 2001 From: mahuntington Date: Mon, 21 Oct 2024 22:42:35 -0400 Subject: [PATCH] Update 'src/components/timer.vue' --- src/components/timer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/timer.vue b/src/components/timer.vue index da75fd6..c877a1e 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -171,7 +171,7 @@ }, mounted() { this.practice_category_id = this.currentWorkingCategory.id - if(window.localStorage.getItem('lastTotalSeconds')){ + if(window.localStorage.getItem('lastTotalSeconds') !== 'NaN'){ this.totalSeconds = parseInt(window.localStorage.getItem('lastTotalSeconds')) } else { this.totalSeconds = 0