diff options
Diffstat (limited to 'internal/components/packages.templ')
-rw-r--r-- | internal/components/packages.templ | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/components/packages.templ b/internal/components/packages.templ index 4e00a5a..e811220 100644 --- a/internal/components/packages.templ +++ b/internal/components/packages.templ @@ -16,7 +16,9 @@ templ Packages(result *index.Result) { </thead> <tbody> for _, hit := range result.Hits { - @packageRow(hit.Data.(nix.Package)) + if m := convertMatch[nix.Package](hit.Data); m != nil { + @packageRow(*m) + } } </tbody> </table> |