mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
Fix scan for audiobook directories in root dir
This commit is contained in:
parent
5ecfaa88c2
commit
a93f409dcd
11 changed files with 157 additions and 11 deletions
|
@ -53,6 +53,7 @@
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fixed bottom-0 left-0 w-10 h-10" @dblclick="setDeveloperMode"></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -70,6 +71,11 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
setDeveloperMode() {
|
||||
var value = !this.$store.state.developerMode
|
||||
this.$store.commit('setDeveloperMode', value)
|
||||
this.$toast.info(`Developer Mode ${value ? 'Enabled' : 'Disabled'}`)
|
||||
},
|
||||
scan() {
|
||||
this.$root.socket.emit('scan')
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue