1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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