mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-20 18:59:37 +00:00
Add:Scan button on libraries table
This commit is contained in:
parent
d7264f8c22
commit
58b9a42c84
6 changed files with 17 additions and 22 deletions
|
|
@ -86,10 +86,6 @@ class Server {
|
|||
LibraryScanner.setCancelLibraryScan(libraryId)
|
||||
}
|
||||
|
||||
getLibrariesScanning() {
|
||||
return LibraryScanner.librariesScanning
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize database, backups, logs, rss feeds, cron jobs & watcher
|
||||
* Cleanup stale/invalid data
|
||||
|
|
|
|||
|
|
@ -179,8 +179,7 @@ class SocketAuthority {
|
|||
|
||||
const initialPayload = {
|
||||
userId: client.user.id,
|
||||
username: client.user.username,
|
||||
librariesScanning: this.Server.getLibrariesScanning()
|
||||
username: client.user.username
|
||||
}
|
||||
if (user.isAdminOrUp) {
|
||||
initialPayload.usersOnline = this.getUsersOnline()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue