mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
Fix cover icons for closing & opening (#1220)
* Fix cover icons for closing & opening * Removed state &&
This commit is contained in:
parent
eb29b73390
commit
af6167b9c8
@ -65,7 +65,7 @@ export default function domainIcon(domain, state) {
|
||||
return state && state === 'off' ? 'hass:radiobox-blank' : 'hass:checkbox-marked-circle';
|
||||
|
||||
case 'cover':
|
||||
return state && state === 'open' ? 'hass:window-open' : 'hass:window-closed';
|
||||
return state === 'closed' ? 'hass:window-closed' : 'hass:window-open';
|
||||
|
||||
case 'lock':
|
||||
return state && state === 'unlocked' ? 'hass:lock-open' : 'hass:lock';
|
||||
|
Loading…
x
Reference in New Issue
Block a user