From dc3fb34f55f25c5c47ba64d2d2271eef54268b88 Mon Sep 17 00:00:00 2001 From: gizmo385 Date: Thu, 12 Dec 2024 00:53:37 -0700 Subject: [PATCH] Fix incorrect button handler --- lazy_github/ui/screens/trigger_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazy_github/ui/screens/trigger_workflow.py b/lazy_github/ui/screens/trigger_workflow.py index 9bee2d3..308769f 100644 --- a/lazy_github/ui/screens/trigger_workflow.py +++ b/lazy_github/ui/screens/trigger_workflow.py @@ -98,7 +98,7 @@ def compose(self) -> ComposeResult: yield TriggerWorkflowContainer(self.workflow) yield LazyGithubFooter() - @on(Button.Pressed, "#submit") + @on(Button.Pressed, "#trigger") async def action_submit(self) -> None: assert LazyGithubContext.current_repo is not None, "Unexpectedly missing current repo!" branch_input = self.query_one("#branch_to_build", Input)