mirror of
https://github.com/mrusme/neonmodem.git
synced 2024-12-04 14:46:37 -05:00
Fixed "All" forums SysIDX
This commit is contained in:
parent
6983f90225
commit
cc65d6bac5
2
ui/ui.go
2
ui/ui.go
@ -138,7 +138,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
case key.Matches(msg, m.keymap.ForumSelect):
|
||||
var listItems []list.Item
|
||||
|
||||
all := forum.Forum{ID: "", Name: "All", SysIDX: -1}
|
||||
all := forum.Forum{ID: "", Name: "All", SysIDX: m.ctx.GetCurrentSystem()}
|
||||
listItems = append(listItems, all)
|
||||
|
||||
forums, errs := m.a.ListForums()
|
||||
|
Loading…
Reference in New Issue
Block a user