mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -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:
@@ -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'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user