Web:Common:Navigation: enable info-panel toggler when other buttons are not available

This commit is contained in:
Timofey Boyko 2022-04-26 17:41:07 +03:00
parent 04ebc9fcee
commit 25ae366d40

View File

@ -188,7 +188,23 @@ const ControlButtons = ({
</StyledInfoPanelToggleWrapper>
</>
) : (
<></>
<>
{" "}
<StyledInfoPanelToggleWrapper
isRootFolder={isRootFolder}
isInfoPanelVisible={isInfoPanelVisible}
>
<div className="info-panel-toggle-bg">
<IconButton
className="info-panel-toggle"
iconName="images/panel.react.svg"
size="16"
isFill={true}
onClick={toggleInfoPanelAction}
/>
</div>
</StyledInfoPanelToggleWrapper>
</>
)}
</StyledContainer>
);