Fixed a few oopsies
This commit is contained in:
parent
bde33c4324
commit
73623b6f42
1 changed files with 7 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
<div class="modal-fullscreen addtoplaylist-panel" @click.self="app.resetState()" @contextmenu.self="app.resetState()">
|
<div class="modal-fullscreen addtoplaylist-panel" @click.self="app.resetState()" @contextmenu.self="app.resetState()">
|
||||||
<div class="modal-window">
|
<div class="modal-window">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<div class="modal-title">Add to Playlist</div>
|
<div class="modal-title">{{app.getLz('action.addToPlaylist')}</div>
|
||||||
<button class="close-btn" @click="app.resetState()"></button>
|
<button class="close-btn" @click="app.resetState()"></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
ref="searchInput"
|
ref="searchInput"
|
||||||
style="width:100%;"
|
style="width:100%;"
|
||||||
spellcheck="false"
|
spellcheck="false"
|
||||||
placeholder="Search..."
|
placeholder="app.getLz('term.search') + '...'"
|
||||||
v-model="searchQuery"
|
v-model="searchQuery"
|
||||||
@input="search()"
|
@input="search()"
|
||||||
class="search-input">
|
class="search-input">
|
||||||
|
@ -66,6 +66,11 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
playlistSelect(playlist) {
|
||||||
|
if(playlist.type != "library-playlist-folders") {
|
||||||
|
this.addToPlaylist(playlist.id)
|
||||||
|
}
|
||||||
|
},
|
||||||
addToPlaylist(id) {
|
addToPlaylist(id) {
|
||||||
app.addSelectedToPlaylist(id)
|
app.addSelectedToPlaylist(id)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue