1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 20:55:49 +00:00

fix service-picker search keys (#28481)

Update SEARCH_KEYS to include search_labels prefix for consistency
This commit is contained in:
Wendelin
2025-12-10 16:59:23 +01:00
committed by GitHub
parent c46f67d572
commit f649b3783d

View File

@@ -22,10 +22,10 @@ interface ServiceComboBoxItem extends PickerComboBoxItem {
}
const SEARCH_KEYS = [
{ name: "name", weight: 10 },
{ name: "description", weight: 8 },
{ name: "domainName", weight: 6 },
{ name: "serviceId", weight: 3 },
{ name: "search_labels.name", weight: 10 },
{ name: "search_labels.description", weight: 8 },
{ name: "search_labels.domainName", weight: 6 },
{ name: "search_labels.serviceId", weight: 3 },
];
@customElement("ha-service-picker")