From 6b312714d064342db0fbbeea5559e4602c5b6c9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20=C5=BBebrak?= Date: Thu, 19 Dec 2024 15:47:37 +0100 Subject: [PATCH] Fix displaying dashboard and cart buttons during create profile wizard --- clive/__private/ui/widgets/clive_basic/clive_header.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clive/__private/ui/widgets/clive_basic/clive_header.py b/clive/__private/ui/widgets/clive_basic/clive_header.py index 8283057b8..dd7b98cdb 100644 --- a/clive/__private/ui/widgets/clive_basic/clive_header.py +++ b/clive/__private/ui/widgets/clive_basic/clive_header.py @@ -372,8 +372,9 @@ def _create_left_part_bar(self) -> ComposeResult: yield AlarmDisplay() def _create_right_part_bar(self) -> ComposeResult: - yield DashboardButton() - yield CartStatus() + if not self.world.is_in_create_profile_mode: + yield DashboardButton() + yield CartStatus() yield NodeStatus() def _create_left_part_expandable(self) -> ComposeResult: