Skip to content

Info panel not showing when some apps miss infoPanel config #2623

Closed
@mtrezza

Description

@mtrezza

New Issue Checklist

Issue Description

Info panel not showing when some apps miss infoPanel config, for example when dashboard config contains 2 apps, but only of the them has a infoPanel set. Adding at least an empty "infoPanel": [], show to all remaining apps solves the issue.

Steps to reproduce

parse-dashboard-config.json:

{
  "apps": [
    {
      "serverURL": "https://app1.example.com",
      "appId": "appId1",
      "masterKey": "masterKey",
      "appName": "app1",
      "infoPanel": [
        {
          "title": "User Details",
          "classes": ["_User"],
          "cloudCodeFunction": "user"
        }
      ]
    },
    {
      "serverURL": "https://app2.example.com",
      "appId": "appId2",
      "masterKey": "masterKey",
      "appName": "app2"
    }
  ]
}

Actual Outcome

Info panel should does not show for app1 or app2.

Expected Outcome

Info panel should show for app1 and not for app2.

Environment

Dashboard

  • Parse Dashboard version: 6.0.0-alpha.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:releasedReleased as stable versionstate:released-alphaReleased as alpha versiontype:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions