mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-02 18:14:47 +02:00
Support for android 8+, selectable download location, permissions check, recursive delete
This commit is contained in:
parent
b4ffe0fc83
commit
e124d3858f
23 changed files with 798 additions and 387 deletions
|
@ -2,6 +2,7 @@ import Vue from 'vue'
|
|||
Vue.prototype.$isDev = process.env.NODE_ENV !== 'production'
|
||||
|
||||
Vue.prototype.$bytesPretty = (bytes, decimals = 2) => {
|
||||
if (isNaN(bytes) || bytes === null) return 'Invalid Bytes'
|
||||
if (bytes === 0) {
|
||||
return '0 Bytes'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue