Skip to content

Reordering widgets breaks dashboard #105

Description

@MetalMinotaur

Hi,

I ran into the following issue using v0.7.0 today:

When reordering widgets in the dashboard using the drag & drop handles, the dashboard instantly goes blank and won't recover.
The following error message keeps flooding the browser console:

Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'layout')
at hui-grid-section.ts:108:20
at r.dt (repeat.ts:57:23)
at r.update (repeat.ts:93:53)
at r.$AS (directive.ts:135:17)
at O (lit-html.ts:1179:24)
at H.
$AI (lit-html.ts:1457:13)
at R.p (lit-html.ts:1287:16)
at H.$ (lit-html.ts:1655:16)
at H._$AI (lit-html.ts:1480:12)
at XX (lit-html.ts:2283:8)

Dashboard is not recoverable and the device needs to be removed and recreated so I get a new YAML with a new ID.

Regards
Michael

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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