Skip to content

Commit

Permalink
Fix da-browse.js:325 Uncaught (in promise) TypeError: Cannot read pro…
Browse files Browse the repository at this point in the history
…perties of null (reading 'length') on empty org (#88)
  • Loading branch information
karlpauls authored Mar 23, 2024
1 parent 8896dcd commit 8a5894a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/browse/da-browse/da-browse.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ export default class DaBrowse extends LitElement {
</ul>
${this.renderNew()}
</div>
${this._listItems.length > 0 ? this.listView() : this.emptyView()}
${this._selectedItems.length > 0 ? html`${this.actionBar()}` : ''}
${this._listItems?.length > 0 ? this.listView() : this.emptyView()}
${this._selectedItems?.length > 0 ? html`${this.actionBar()}` : ''}
`;
}
}
Expand Down

0 comments on commit 8a5894a

Please sign in to comment.