try adding playlists list to context menu - unsuccsessfully

This commit is contained in:
geoffrey45
2022-03-25 20:51:22 +03:00
parent 642c524a08
commit e2544dbbdc
21 changed files with 394 additions and 75 deletions
+3 -2
View File
@@ -43,7 +43,7 @@ export default {
const songs = computed(() => {
const songs_ = [];
if (query.value.length > 1) {
if (query.value.length) {
for (let i = 0; i < song_list.value.length; i++) {
if (
song_list.value[i].title
@@ -63,7 +63,7 @@ export default {
const folders = computed(() => {
const folders_ = [];
if (query.value.length > 1) {
if (query.value.length) {
for (let i = 0; i < folders_list.value.length; i++) {
if (
folders_list.value[i].name
@@ -110,6 +110,7 @@ export default {
if (!path.value) return;
getDirData(path.value);
console.log(path.value);
}
);
});