From 5c076e605185a09b1e570f9aa3c5ddb784ace0f3 Mon Sep 17 00:00:00 2001 From: T Date: Wed, 13 Aug 2025 21:37:59 -0600 Subject: edit contractor via modal --- internal/tui/commands.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/tui/commands.go') diff --git a/internal/tui/commands.go b/internal/tui/commands.go index 657b3f5..363b570 100644 --- a/internal/tui/commands.go +++ b/internal/tui/commands.go @@ -21,6 +21,7 @@ type ( drillUpMsg struct{} modalClosed struct{} openTimeEntryEditor struct{} + openContractorEditor struct{} openModalUnchanged struct{} openDeleteConfirmation struct{} recheckBounds struct{} @@ -100,6 +101,10 @@ func editCurrentEntry() tea.Cmd { return func() tea.Msg { return openTimeEntryEditor{} } } +func editContractor() tea.Cmd { + return func() tea.Msg { return openContractorEditor{} } +} + func reOpenModal() tea.Cmd { return func() tea.Msg { return openModalUnchanged{} } } -- cgit v1.2.3