Fix Bug 69379 - SDK: Implement return buttons from presets to the general list in the interface.

This commit is contained in:
Alexey Safronov 2024-07-24 15:26:17 +04:00
parent 02ad0b2719
commit e0e1c86e10

View File

@ -356,15 +356,18 @@ const SectionHeaderContent = (props) => {
<LoaderSectionHeader />
) : (
<HeaderContainer>
{!isCategoryOrHeader && arrayOfParams[0] && isMobile() && (
<IconButton
iconName={ArrowPathReactSvgUrl}
size="17"
isFill={true}
onClick={onBackToParent}
className="arrow-button"
/>
)}
{!isCategoryOrHeader &&
arrayOfParams[0] &&
(isMobile() ||
window.location.href.indexOf("/javascript-sdk/") > -1) && (
<IconButton
iconName={ArrowPathReactSvgUrl}
size="17"
isFill={true}
onClick={onBackToParent}
className="arrow-button"
/>
)}
<Headline type="content" truncate={true}>
<div className="settings-section_header">
<div className="header">