From 022072ce8bac114ea0a7b94132ed3b8630de2f90 Mon Sep 17 00:00:00 2001 From: ewy Date: Fri, 17 Apr 2026 00:00:40 +0200 Subject: * fix bug which prevented multiple sources from showing up in the tui at the same time * add padding to bottom of sources * add git status panel to bottom of tui --- indexers/pikdex/hydrate.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'indexers') diff --git a/indexers/pikdex/hydrate.go b/indexers/pikdex/hydrate.go index bc5197d..ec7f71f 100644 --- a/indexers/pikdex/hydrate.go +++ b/indexers/pikdex/hydrate.go @@ -2,10 +2,11 @@ package pikdex import ( "pik/model" + "strings" ) -func (u *pikdex) Hydrate(src *model.Source, result *model.HydratedSource) error { - mod := u.mods[src.Path] +func (u *pikdex) Mod(src *model.Source, result *model.HydratedSource) error { + mod := u.mods[strings.TrimSuffix(src.Path, "/")] if mod.Path != "" { if mod.Aliases != nil { result.Aliases = append(result.Aliases, mod.Aliases...) -- cgit v1.3