diff --git a/app.js b/app.js
index 91fa837..297daaf 100644
--- a/app.js
+++ b/app.js
@@ -416,7 +416,7 @@ function renderTable() {
emptyMsg.hidden = rows.length > 0;
rows.forEach(({ tune, entry }) => {
- const hasNotes = (tune.notes?.length > 0) || (entry?.notes?.length > 0);
+ const hasNotes = tune.has_notes ?? false;
// ── Mobile 2-line card data ──────────────────────────────────
const nameRaw = tune.name ?? '';
@@ -431,7 +431,7 @@ function renderTable() {
const mobPills = entry ? pillStatus(entry.status, 'mob-pill') : '';
const mobActions = [
hasNotes ? `` : '',
- tune.references?.length > 0 ? `` : '',
+ (tune.reference_count ?? 0) > 0 ? `` : '',
``,
].join('');
@@ -446,7 +446,7 @@ function renderTable() {
${hasNotes
? ``
: ''} |
- ${tune.references?.length > 0
+ | ${(tune.reference_count ?? 0) > 0
? ``
: ''} |
|