[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:
Alain Nussbaumer 2023-07-02 19:42:10 +02:00
parent a7ca88574c
commit 5e73554ad5
2 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -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'
)
}
}