mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 21:36:36 +00:00
Fix sidebar icon not always updating color
This commit is contained in:
parent
44234dad28
commit
d8afde516a
@ -33,7 +33,6 @@ export default new Polymer({
|
||||
selected: {
|
||||
type: String,
|
||||
bindNuclear: navigationGetters.activePane,
|
||||
// observer: 'selectedChanged',
|
||||
},
|
||||
|
||||
hasHistoryComponent: {
|
||||
@ -48,7 +47,7 @@ export default new Polymer({
|
||||
},
|
||||
|
||||
menuSelect() {
|
||||
this.updateStyles();
|
||||
this.debounce('updateStyles', () => this.updateStyles(), 1);
|
||||
},
|
||||
|
||||
menuClicked(ev) {
|
||||
@ -78,6 +77,7 @@ export default new Polymer({
|
||||
return;
|
||||
}
|
||||
navigationActions.navigate.apply(null, newChoice.split('/'));
|
||||
this.debounce('updateStyles', () => this.updateStyles(), 1);
|
||||
},
|
||||
|
||||
handleLogOut() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user