Let empty-result previews be tracked for future-listing alerts

This commit is contained in:
prosolis
2026-06-19 21:53:18 -07:00
parent ea457aecee
commit b6fadf6504
2 changed files with 5 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ func ItemPreview(d PreviewData) templ.Component {
return templ_7745c5c3_Err
}
} else if d.Empty {
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "<div class=\"v-flash\"><div class=\"font-semibold mb-1\">No results found</div><div>Try a broader search query or a different marketplace.</div></div>")
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "<div class=\"v-flash\"><div class=\"font-semibold mb-1\">Nothing listed right now</div><div>Track it anyway. Veola will alert you when it appears. Leave the target price blank to be notified on any new listing.</div></div>")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -523,7 +523,7 @@ func confirmForm(d PreviewData) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
if d.Empty || d.Error != "" {
if d.Error != "" {
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, " disabled")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err