mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 15:15:57 -05:00
[web] Fix an issue preventing files to be added from the "Files" modal dialog
It is now possible to add files from the modal dialog for files.
This commit is contained in:
parent
a7ca88574c
commit
5e73554ad5
File diff suppressed because one or more lines are too long
@ -6,7 +6,7 @@
|
||||
<div class="modal-content fd-modal-card">
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<p class="title is-4" v-text="directory.path" />
|
||||
<p class="title is-4" v-text="directory" />
|
||||
</div>
|
||||
<footer class="card-footer">
|
||||
<a class="card-footer-item has-text-dark" @click="queue_add">
|
||||
@ -49,7 +49,7 @@ export default {
|
||||
play() {
|
||||
this.$emit('close')
|
||||
webapi.player_play_expression(
|
||||
'path starts with "' + this.directory.path + '" order by path asc',
|
||||
'path starts with "' + this.directory + '" order by path asc',
|
||||
false
|
||||
)
|
||||
},
|
||||
@ -57,14 +57,14 @@ export default {
|
||||
queue_add() {
|
||||
this.$emit('close')
|
||||
webapi.queue_expression_add(
|
||||
'path starts with "' + this.directory.path + '" order by path asc'
|
||||
'path starts with "' + this.directory + '" order by path asc'
|
||||
)
|
||||
},
|
||||
|
||||
queue_add_next() {
|
||||
this.$emit('close')
|
||||
webapi.queue_expression_add_next(
|
||||
'path starts with "' + this.directory.path + '" order by path asc'
|
||||
'path starts with "' + this.directory + '" order by path asc'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user