Skip to content

Commit

Permalink
[web] Fix an issue preventing files to be added from the "Files" moda…
Browse files Browse the repository at this point in the history
…l dialog

It is now possible to add files from the modal dialog for files.
  • Loading branch information
hacketiwack committed Jul 2, 2023
1 parent a7ca885 commit 5e73554
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion htdocs/assets/index.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions web-src/src/components/ModalDialogDirectory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -49,22 +49,22 @@ 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
)
},
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'
)
}
}
Expand Down

0 comments on commit 5e73554

Please sign in to comment.