Update pkg/tui/views/dashboard/update.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Robin Olsen
2026-02-10 20:18:55 +01:00
committed by GitHub
parent 19b32dca1b
commit d0ab541ec4

View File

@@ -2,12 +2,13 @@ package dashboard
import (
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/bubbles/list"
)
func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
switch msg := msg.(type) {
case tea.KeyMsg:
if m.issueList.FilterState() == 1 {
if m.issueList.FilterState() == list.Filtering {
cmd, _ := m.issueList.Update(msg)
return m, cmd
}