Skip to content

Dash level error #7

Description

@asnewman
    -div(id="nav")
    --button(onclick="getDocuments")
    ---"Get Documents"
    {${navItems}}
    -button(onclick='switchDocument(null)')
    --"New document"
    --div(id="documents")

where navItems are

    -button(onclick='switchDocument({"id":3,"parent_id":null,"title":"This is my new document","content":"","created_at":"2025-01-03 19:29:00","updated_at":"2025-01-03 19:29:07"})')
    --"This is my new document"

Causing Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'this.currLevels[this.currDashLevel-1].body')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions