Shared: Navigation: Disabled tariff bar inside sdk frame

This commit is contained in:
Ilya Oleshko 2024-08-14 11:17:01 +03:00
parent da127707af
commit 7247363b02

View File

@ -79,7 +79,8 @@ const ControlButtons = ({
onClick={onNavigationButtonClick}
/>
) : null;
const children = tariffBar ? React.cloneElement(tariffBar, { title }) : null;
const children =
tariffBar && !isFrame ? React.cloneElement(tariffBar, { title }) : null;
const isTabletView = isTablet();
const contextOptionsFolder = getContextOptionsFolder();