feat: store data separate from search index
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M internal/components/options.go → internal/components/options.go
@@ -22,7 +22,7 @@ ), ), TBody( g.MapIter(result.Hits, func(hit index.DocumentMatch) g.Node { - if m := convertMatch[nix.Option](hit.Data); m != nil { + if m, ok := hit.Data.(*nix.Option); ok { return optionRow(hit, *m) }