chore: small sidebar fix
commitd7246a9e7c1d4a3f5c7a486ba8ae15c52b48ebee
authorKujtim Hoxha <kujtimii.h@gmail.com>
dateTue 17 Jun 2025, 12:38 (1 year ago)
parent8026953
internal/tui/components/chat/sidebar/sidebar.go+5−2
@@ -107,8 +107,11 @@ func (m *sidebarCmp) View() tea.View {
107107 m.cwd,
108108 "",
109109 m.currentModelBlock(),
110− "",
111− m.filesBlock(),
110+ )
111+ if m.session.ID != "" {
112+ parts = append(parts, "", m.filesBlock())
113+ }
114+ parts = append(parts,
112115 "",
113116 m.lspBlock(),
114117 "",