mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -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="modal-content fd-modal-card">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="title is-4" v-text="directory.path" />
|
<p class="title is-4" v-text="directory" />
|
||||||
</div>
|
</div>
|
||||||
<footer class="card-footer">
|
<footer class="card-footer">
|
||||||
<a class="card-footer-item has-text-dark" @click="queue_add">
|
<a class="card-footer-item has-text-dark" @click="queue_add">
|
||||||
@ -49,7 +49,7 @@ export default {
|
|||||||
play() {
|
play() {
|
||||||
this.$emit('close')
|
this.$emit('close')
|
||||||
webapi.player_play_expression(
|
webapi.player_play_expression(
|
||||||
'path starts with "' + this.directory.path + '" order by path asc',
|
'path starts with "' + this.directory + '" order by path asc',
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
@ -57,14 +57,14 @@ export default {
|
|||||||
queue_add() {
|
queue_add() {
|
||||||
this.$emit('close')
|
this.$emit('close')
|
||||||
webapi.queue_expression_add(
|
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() {
|
queue_add_next() {
|
||||||
this.$emit('close')
|
this.$emit('close')
|
||||||
webapi.queue_expression_add_next(
|
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