diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-17 00:00:40 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-17 00:00:40 +0200 |
| commit | 022072ce8bac114ea0a7b94132ed3b8630de2f90 (patch) | |
| tree | 199fb99ab9e242b6eb195c2b1180e58caa4303d6 /indexers | |
| parent | fbdc2b9d849913ccf8dd7a9001012ce2d28cbd2f (diff) | |
* 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
Diffstat (limited to 'indexers')
| -rw-r--r-- | indexers/pikdex/hydrate.go | 5 |
1 files changed, 3 insertions, 2 deletions
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...) |
