From cc65d6bac599f599f8626b847e62610135261fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9E=E3=83=AA=E3=82=A6=E3=82=B9?= Date: Thu, 5 Jan 2023 12:02:12 -0500 Subject: [PATCH] Fixed "All" forums SysIDX --- ui/ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ui.go b/ui/ui.go index 343e19e..29d520b 100644 --- a/ui/ui.go +++ b/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()