mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
402 - Widget should be marked as not selected when the inspector is closed (#454)
Co-authored-by: xrimpy <=>
This commit is contained in:
parent
40d8df936d
commit
f87564b0e3
1 changed files with 4 additions and 0 deletions
|
|
@ -221,6 +221,10 @@ class Editor extends React.Component {
|
|||
};
|
||||
|
||||
switchSidebarTab = (tabIndex) => {
|
||||
if (tabIndex == 2)
|
||||
{
|
||||
this.setState({ selectedComponent: null });
|
||||
}
|
||||
this.setState({
|
||||
currentSidebarTab: tabIndex
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue