mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-17 14:26:35 +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: {
|
selected: {
|
||||||
type: String,
|
type: String,
|
||||||
bindNuclear: navigationGetters.activePane,
|
bindNuclear: navigationGetters.activePane,
|
||||||
// observer: 'selectedChanged',
|
|
||||||
},
|
},
|
||||||
|
|
||||||
hasHistoryComponent: {
|
hasHistoryComponent: {
|
||||||
@ -48,7 +47,7 @@ export default new Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
menuSelect() {
|
menuSelect() {
|
||||||
this.updateStyles();
|
this.debounce('updateStyles', () => this.updateStyles(), 1);
|
||||||
},
|
},
|
||||||
|
|
||||||
menuClicked(ev) {
|
menuClicked(ev) {
|
||||||
@ -78,6 +77,7 @@ export default new Polymer({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
navigationActions.navigate.apply(null, newChoice.split('/'));
|
navigationActions.navigate.apply(null, newChoice.split('/'));
|
||||||
|
this.debounce('updateStyles', () => this.updateStyles(), 1);
|
||||||
},
|
},
|
||||||
|
|
||||||
handleLogOut() {
|
handleLogOut() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user