client:fetch songs and folders in folder view

This commit is contained in:
geoffrey45 committed 2021-12-16 23:26:44 +03:00
1 parent 701f61250e
commit 4df1d01c0d
4 files changed
+34 -21

No files matched your search

+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 };