Update pkg/tui/views/dashboard/update.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -27,9 +27,6 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||||||
m.currentFeedback = msg.Feedback
|
m.currentFeedback = msg.Feedback
|
||||||
if msg.Feedback.Success {
|
if msg.Feedback.Success {
|
||||||
m.showComplete = true
|
m.showComplete = true
|
||||||
if m.quitChan != nil {
|
|
||||||
close(m.quitChan)
|
|
||||||
}
|
|
||||||
return m, tea.Quit
|
return m, tea.Quit
|
||||||
}
|
}
|
||||||
return m, m.listenForValidation()
|
return m, m.listenForValidation()
|
||||||
|
|||||||
Reference in New Issue
Block a user