Address brand filter review comments (#31203)

This commit is contained in:
Franck Nijhof 2024-02-02 14:19:37 +01:00 committed by GitHub
parent fbbb01d9ae
commit 5254afa9df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ regenerate: false
<a href='#all' class="btn">All ({{tot}})</a>
<div class="featured">
<a href='#featured' class="btn">Featured</a>
<a href='#works-with-home-assistant' class="btn">Partners</a>
<a href='#works-with-home-assistant' class="btn">Partner brands</a>
</div>
<div class="version_select">Added in: <select name="versions">
<option value="#"></option>
@ -213,7 +213,7 @@ allComponents.pop(); // remove placeholder element at the end
return comp.featured;
};
} else if (hash === '#works-with-home-assistant' || hash === '') {
} else if (hash === '#works-with-home-assistant') {
// only show those partners of the Works with Home Assistant program
filter = function (comp) {
return comp.wwha;