Skip to content

Commit

Permalink
check for array before mapping actions (can't reproduce, but this mig…
Browse files Browse the repository at this point in the history
…ht help)
  • Loading branch information
KevinJump committed Oct 28, 2024
1 parent baeb742 commit 27a916c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ export class uSyncDefaultViewElement extends UmbLitElement {
}

#renderActions() {
if (!this._actions || !Array.isArray(this._actions)) return;

var actions = this._actions?.map((group) => {
return html`
<usync-action-box
Expand Down

0 comments on commit 27a916c

Please sign in to comment.