diff options
author | T <t@tjp.lol> | 2025-08-13 21:37:59 -0600 |
---|---|---|
committer | T <t@tjp.lol> | 2025-08-13 21:38:26 -0600 |
commit | 5c076e605185a09b1e570f9aa3c5ddb784ace0f3 (patch) | |
tree | 67b8103ab7d95302bb403388cfb0a61b70d606eb /internal/tui/commands.go | |
parent | 7d0d21ba8663ab7ff777a06f4b113337fa717ff3 (diff) |
edit contractor via modal
Diffstat (limited to 'internal/tui/commands.go')
-rw-r--r-- | internal/tui/commands.go | 5 |
1 files changed, 5 insertions, 0 deletions
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{} } } |