Fix highlighting settings on same component not working if moving from styles to a setting
This commit is contained in:
parent
d4ffd0509e
commit
60834ed6ad
|
@ -63,7 +63,7 @@
|
||||||
section = "conditions"
|
section = "conditions"
|
||||||
} else if (highlightedSetting.key === "_styles") {
|
} else if (highlightedSetting.key === "_styles") {
|
||||||
section = "styles"
|
section = "styles"
|
||||||
} else if (highlightedSetting.key === "_settings") {
|
} else {
|
||||||
section = "settings"
|
section = "settings"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -745,10 +745,6 @@ export class ComponentStore extends BudiStore<ComponentState> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @param {string} componentId
|
|
||||||
*/
|
|
||||||
select(id: string) {
|
select(id: string) {
|
||||||
this.update(state => {
|
this.update(state => {
|
||||||
// Only clear highlights if selecting a different component
|
// Only clear highlights if selecting a different component
|
||||||
|
|
Loading…
Reference in New Issue