Skip to content

Commit f247ffa

Browse files
Devyani JainCopilot
andcommitted
fix: show placeholder when public feedback text is empty
Early submissions (before today's fix) have no public feedback text. Show 'No public feedback shared yet.' instead of empty curly quotes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
1 parent 9cfff12 commit f247ffa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,9 @@ <h3 class="h3">This art inspiration</h3>
686686
chip.style.backgroundColor = REL_CHIP_DULL[color] || 'var(--fg-blue-dull)';
687687
chip.style.borderColor = DOT_BORDER_COLOR[color] || '#00CCCF';
688688

689-
document.getElementById('vw-feedback').textContent = '\u201c' + f.t + '\u201d';
689+
document.getElementById('vw-feedback').textContent = f.t
690+
? '\u201c' + f.t + '\u201d'
691+
: 'No public feedback shared yet.';
690692

691693
showOnly(viewBox);
692694
openPanel();

0 commit comments

Comments
 (0)