Skip to content

Roles: User - View Relation error #1038

Closed
@camdagr8

Description

@camdagr8

I'm having trouble with the Role's View Relation button. It errors out if you click it after altering the columns for the Roles table.

  • You're running version >=1.2.23 of Parse Dashboard.
    Uh, no, only 1.2.0 is available.

  • You're running version >=2.3.2 of Parse Server.

  • You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

Parse Dashboard: 1.2.0
Parse Server: 3.1.3
Node: 11.3.0

Steps to reproduce

  1. Navigate to the Roles list
  2. Add a new column
  3. Click the 'View Relation' button for the user relation.

I noticed that if you click the 'refresh' button after the above steps, you can see the user relations.

Logs/Trace

Uncaught TypeError: n.map is not a function
    at _ (dashboard.bundle.js:20)
    at r.render (dashboard.bundle.js:20)
    at d._renderValidatedComponentWithoutOwnerOrContext (dashboard.bundle.js:20)
    at d._renderValidatedComponent (dashboard.bundle.js:20)
    at d._updateRenderedComponent (dashboard.bundle.js:20)
    at d._performComponentUpdate (dashboard.bundle.js:20)
    at d.updateComponent (dashboard.bundle.js:20)
    at d.receiveComponent (dashboard.bundle.js:20)
    at Object.receiveComponent (dashboard.bundle.js:6)
    at Object.updateChildren (dashboard.bundle.js:20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:wont-fixWon’t be fixed with a clearly stated reason

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions