We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c03b796 commit c40372bCopy full SHA for c40372b
1 file changed
datashuttle/tui/shared/configs_content.py
@@ -511,7 +511,15 @@ def setup_aws_connection(self) -> None:
511
512
def show_project_screen_callback(self, was_successful: bool):
513
"""Show 'Go to Project Screen' button after connection set up screens exits."""
514
- if was_successful:
+ assert self.id in [
515
+ "new_project_configs_content",
516
+ "tabscreen_configs_content",
517
+ ], (
518
+ "new project or tab screen id was changed." # see below
519
+ )
520
+ on_new_project_screen = self.id == "new_project_configs_content"
521
+
522
+ if was_successful and on_new_project_screen:
523
self.query_one(
524
"#configs_go_to_project_screen_button"
525
).visible = True
0 commit comments