|
|
@@ -111,10 +111,10 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|
|
cmds = append(cmds, cmd, w.render)
|
|
|
case Issue:
|
|
|
m.widget, cmd = w.update(msg)
|
|
|
- cmds = append(cmds, cmd)
|
|
|
+ cmds = append(cmds, cmd, w.render)
|
|
|
case IssueCollection:
|
|
|
m.widget, cmd = w.update(msg)
|
|
|
- cmds = append(cmds, cmd)
|
|
|
+ cmds = append(cmds, cmd, w.render)
|
|
|
case createInCollection:
|
|
|
m.widget, cmd = w.update(msg)
|
|
|
cmds = append(cmds, cmd, w.render)
|
|
|
@@ -303,7 +303,7 @@ func (c create) update(msg tea.Msg) (widget, tea.Cmd) {
|
|
|
case bool:
|
|
|
if !value {
|
|
|
} else {
|
|
|
- cmds = append(cmds, tea.Quit)
|
|
|
+ cmds = append(cmds, func() tea.Msg { return loadPath(c.Path) })
|
|
|
}
|
|
|
case error:
|
|
|
c.err = value
|