这是indexloc提供的服务,不要输入任何密码
Skip to content

Error with adding documents on newly initialized project #29

@didrio

Description

@didrio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions