Look for row config in the right place
This commit is contained in:
		
							parent
							
								
									0154b13a23
								
							
						
					
					
						commit
						f0486b0cde
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @ -1,5 +1,5 @@ | ||||
| AUTHOR := Thomas Lovén | ||||
| CARD_TOOLS := $(PWD)/../card-tools | ||||
| CARD_TOOLS := $(PWD)/../../../custom-cards/card-tools | ||||
| 
 | ||||
| PACKAGE := $(shell basename $(CURDIR)) | ||||
| PACKAGE := $(PACKAGE:lovelace-%=%) | ||||
|  | ||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -35,7 +35,7 @@ class FoldEntityRow extends LitElement { | ||||
|   } | ||||
| 
 | ||||
|   clickRow(ev) { | ||||
|     const config = ev.target._config; | ||||
|     const config = ev.target.parentElement._config; | ||||
|     const entity = config.entity || (typeof config === "string" ? config : null); | ||||
| 
 | ||||
|     ev.stopPropagation(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user