mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Show 0 mins with 0 plays on user page.
This commit is contained in:
parent
9adf5cc39a
commit
9fc4573c42
1 changed files with 3 additions and 0 deletions
|
@ -251,6 +251,9 @@ function humanTime(seconds) {
|
|||
} else if (seconds >= 60) {
|
||||
text = '<h3>' + Math.floor(moment.duration(((seconds % 86400) % 3600), 'seconds').asMinutes()) + '</h3><p> mins</p>';
|
||||
return text;
|
||||
} else {
|
||||
text = '<h3>0</h3><p> mins</p>';
|
||||
return text;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue