Skip to content

Default hide disabled entities from entity registry#3863

Merged
bramkragten merged 3 commits into
devfrom
hide-disabled
Oct 2, 2019
Merged

Default hide disabled entities from entity registry#3863
bramkragten merged 3 commits into
devfrom
hide-disabled

Conversation

@bramkragten
Copy link
Copy Markdown
Member

@bramkragten bramkragten commented Oct 2, 2019

image

></paper-item
>
${this._entities.map((entry) => {
if (!this._showDisabled && entry.disabled_by) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of doing this inside the map, should we use .filter and potentially store that inside a memoize?

@bramkragten bramkragten merged commit a6dda90 into dev Oct 2, 2019
@delete-merged-branch delete-merged-branch Bot deleted the hide-disabled branch October 2, 2019 19:20
@bramkragten bramkragten mentioned this pull request Oct 2, 2019
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants