about summary refs log tree commit diff stats
path: root/internal/components/options.templ
diff options
context:
space:
mode:
Diffstat (limited to 'internal/components/options.templ')
-rw-r--r--internal/components/options.templ4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/components/options.templ b/internal/components/options.templ
index ce3ffff..44bc5a3 100644
--- a/internal/components/options.templ
+++ b/internal/components/options.templ
@@ -15,7 +15,9 @@ templ Options(result *index.Result) {
 		</thead>
 		<tbody>
 			for _, hit := range result.Hits {
-				@optionRow(hit.Data.(nix.Option))
+				if m := convertMatch[nix.Option](hit.Data); m != nil {
+					@optionRow(*m)
+				}
 			}
 		</tbody>
 	</table>