1
0
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:
マリウス 2023-01-05 12:02:12 -05:00
parent 6983f90225
commit cc65d6bac5
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F

View File

@ -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()