diff options
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{} } } |