mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-06 15:06:30 +01:00
Update:Replace library scan toast with task manager #1279
This commit is contained in:
1 parent
6f65350269
commit
bef6549805
7 files changed
+61
-19
No files matched your search
@@ -65,6 +65,9 @@ module.exports.getId = (prepend = '') => {
|
||||
}
|
||||
|
||||
function elapsedPretty(seconds) {
|
||||
if (seconds > 0 && seconds < 1) {
|
||||
return `${Math.floor(seconds * 1000)} ms`
|
||||
}
|
||||
if (seconds < 60) {
|
||||
return `${Math.floor(seconds)} sec`
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user