client:fetch songs and folders in folder view

This commit is contained in:
geoffrey45
2021-12-16 23:26:44 +03:00
parent 701f61250e
commit 4df1d01c0d
4 changed files with 34 additions and 21 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ const getData = async (path) => {
}
const data = await res.json();
songs.value = data.songs;
songs.value = data.files;
folders.value = data.folders;
return { songs, folders };