diff --git a/infrastructure/code/code_html.go b/infrastructure/code/code_html.go
index 4d3361c44..a7ebaa4d2 100644
--- a/infrastructure/code/code_html.go
+++ b/infrastructure/code/code_html.go
@@ -110,6 +110,22 @@ func getCodeDetailsHtml(issue snyk.Issue) string {
"LessonUrl": issue.LessonUrl,
"LessonIcon": getLessonIconSvg(),
"IgnoreLineAction": getLineToIgnoreAction(issue),
+ "ShowAIFix": additionalData.HasAIFix,
+ "ArrowLeftDarkIcon": template.HTML(``),
+ "ArrowLeftLightIcon": template.HTML(`
+`),
+ "ArrowRightDarkIcon": template.HTML(`
+`),
+ "ArrowRightLightIcon": template.HTML(`
+`),
}
if issue.IsIgnored {
@@ -236,6 +252,7 @@ func generateNonce() (string, error) {
}
func getSeverityIconSvg(issue snyk.Issue) template.HTML {
+ // TODO: move these to actual icons
switch issue.Severity {
case snyk.Critical:
return template.HTML(`