Skip to content

Commit

Permalink
corrently show ete value even if it's 0
Browse files Browse the repository at this point in the history
  • Loading branch information
kurt1288 committed Sep 25, 2020
1 parent 5cc74ea commit 67e751e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wwwroot/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const app = new Vue({
},
methods: {
convertSecondsToHMS(value) {
if (!value || isNaN(value) || value < 0)
if (value == null || isNaN(value) || value < 0)
return;

return new Date(value * 1000).toISOString().substr(11, 8)
Expand Down

0 comments on commit 67e751e

Please sign in to comment.