mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 21:17:47 +00:00
comit
This commit is contained in:
parent
976d3ddc87
commit
0dfd55e773
@ -445,6 +445,11 @@ export class QuickBar extends SubscribeMixin(LitElement) {
|
|||||||
? ev.target.parentElement
|
? ev.target.parentElement
|
||||||
: ev.target.parentElement.parentElement;
|
: ev.target.parentElement.parentElement;
|
||||||
|
|
||||||
|
// Need to resolve when clicking on the chip
|
||||||
|
if (!target.item) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.processItemAndCloseDialog(
|
this.processItemAndCloseDialog(
|
||||||
target.item,
|
target.item,
|
||||||
Number((target as HTMLElement).getAttribute("index"))
|
Number((target as HTMLElement).getAttribute("index"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user