The server and frontend are set up and working, but when trying to add documents to a workspace (clicking the + folder icon), I get this error:
Uncaught TypeError: Cannot read properties of undefined (reading 'items') at toggleSelection
Which is from this line:
const folderItems = directories.items.find((item) => item.name === parent).items;
And I'm not sure how to solve it