mirror of
https://github.com/gotson/komga.git
synced 2026-04-21 22:40:48 +02:00
fix(webui): scan all libraries from Server Settings does not work
Closes: #1155
This commit is contained in:
parent
72c1e8dd29
commit
a2f0c3dabd
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
|||
</v-row>
|
||||
<v-row>
|
||||
<v-col cols="auto">
|
||||
<v-btn @click="scanAllLibraries">{{ $t('server.server_management.button_scan_libraries') }}</v-btn>
|
||||
<v-btn @click="scanAllLibraries(false)">{{ $t('server.server_management.button_scan_libraries') }}</v-btn>
|
||||
</v-col>
|
||||
<v-col cols="auto">
|
||||
<v-btn @click="scanAllLibraries(true)"
|
||||
|
|
@ -74,7 +74,7 @@ export default Vue.extend({
|
|||
this.$komgaLibraries.emptyTrash(library)
|
||||
})
|
||||
},
|
||||
scanAllLibraries(scanDeep: boolean = false) {
|
||||
scanAllLibraries(scanDeep: boolean) {
|
||||
this.libraries.forEach(library => {
|
||||
this.$komgaLibraries.scanLibrary(library, scanDeep)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue