phoenixframework / phoenix_live_dashboard

Realtime dashboard with metrics, request logging, plus storage, OS and VM insights

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught TypeError: Cannot read properties of undefined

petrus-jvrensburg opened this issue · comments

Environment

  • phoenix_live_view 0.17.7
  • phoenix_live_dashboard 0.6.4
  • Elixir 1.13.3
  • Mac OS & Ubuntu 20.04
  • Safari & Chrome

Actual behavior

When opening LiveDashboard, the page renders fine initially, but then a Javascript error occurs before the websocket connection to the server is established. This happens on 'Home' and 'OS Data', but not on the other tabs.

Screenshot 2022-03-14 at 11 58 46

Expected behavior

No Javascript errors.

P.S. I'm using esbuild rather than webpack... not sure if that's a contributing factor.

Please bump the dashboard to 0.6.5. :)

🙏 That did the trick!