diff --git a/src/frontend/app.js b/src/frontend/app.js index e43dd2c..8fb269c 100644 --- a/src/frontend/app.js +++ b/src/frontend/app.js @@ -879,9 +879,9 @@ function renderCard(s, idx) { html += ''; html += ''; if (s.has_detail) { - if (!sessionTitles[s.id]) { - html += ''; - } + var btnTitle = sessionTitles[s.id] ? 'Regenerate AI title' : 'Generate AI title'; + var btnIcon = sessionTitles[s.id] ? '↻' : '⚛'; + html += ''; html += ''; } html += ''; @@ -1480,10 +1480,11 @@ async function openDetail(s) { var infoHtml = '