diff --git a/packages/bot-web-ui/src/components/dashboard/dbot-tours/bot-builder-tour/bot-builder-tour-desktop.tsx b/packages/bot-web-ui/src/components/dashboard/dbot-tours/bot-builder-tour/bot-builder-tour-desktop.tsx index 466b0634190f..9d0044dc21c7 100644 --- a/packages/bot-web-ui/src/components/dashboard/dbot-tours/bot-builder-tour/bot-builder-tour-desktop.tsx +++ b/packages/bot-web-ui/src/components/dashboard/dbot-tours/bot-builder-tour/bot-builder-tour-desktop.tsx @@ -21,7 +21,6 @@ const BotBuilderTourDesktop = observer(() => { React.useEffect(() => { if (is_finished) { setTourDialogVisibility(true); - setActiveTour(''); } else if (is_close_tour) { setActiveTour(''); setIsCloseTour(false); diff --git a/packages/bot-web-ui/src/components/run-panel/run-panel.scss b/packages/bot-web-ui/src/components/run-panel/run-panel.scss index 1a685e4f918e..16a6dc6b2dea 100644 --- a/packages/bot-web-ui/src/components/run-panel/run-panel.scss +++ b/packages/bot-web-ui/src/components/run-panel/run-panel.scss @@ -52,6 +52,9 @@ margin: 0; position: fixed; } + &--tour-active { + display: none; + } &--info { display: flex; justify-content: center; diff --git a/packages/bot-web-ui/src/components/run-panel/run-panel.tsx b/packages/bot-web-ui/src/components/run-panel/run-panel.tsx index 4a478194cf2a..d49bb69d5efc 100644 --- a/packages/bot-web-ui/src/components/run-panel/run-panel.tsx +++ b/packages/bot-web-ui/src/components/run-panel/run-panel.tsx @@ -27,6 +27,7 @@ type TStatisticsSummary = { number_of_runs: number; total_stake: number; total_payout: number; + active_tour: string; toggleStatisticsInfoModal: () => void; total_profit: number; won_contracts: number; @@ -70,12 +71,14 @@ export const StatisticsSummary = ({ number_of_runs, total_stake, total_payout, + active_tour, toggleStatisticsInfoModal, total_profit, won_contracts, }: TStatisticsSummary) => (