mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
Style fixes and compile error fix to updater badge
1) Added two missing semicolons. 2) Added missing more-info js file for updater badge.
This commit is contained in:
@@ -44,7 +44,7 @@ export default new Polymer({
|
||||
case 'script':
|
||||
return state.state === 'on' ? 'blue' : 'grey';
|
||||
case 'updater':
|
||||
return 'blue'
|
||||
return 'blue';
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
@@ -83,7 +83,7 @@ export default new Polymer({
|
||||
case 'script':
|
||||
return domainIcon(state.domain, state.state);
|
||||
case 'updater':
|
||||
return domainIcon(state.domain)
|
||||
return domainIcon(state.domain);
|
||||
case 'sun':
|
||||
return state.state === 'above_horizon' ?
|
||||
domainIcon(state.domain) : 'mdi:brightness-3';
|
||||
|
||||
Reference in New Issue
Block a user