From 0b20bb77aded39520117dc550b61d8ba208afc7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sun, 2 Aug 2026 02:31:07 +0300 Subject: [PATCH] fix: triodion section data path (01.json not 01/full.json) --- src/ui/prayer-view.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/prayer-view.ts b/src/ui/prayer-view.ts index 321d1ba..130c478 100644 --- a/src/ui/prayer-view.ts +++ b/src/ui/prayer-view.ts @@ -260,7 +260,9 @@ export class PrayerView { try { // Paraclete ids are t{tone}-{day}; others map directly let dataPath = `/data/shared/${this.collection}/${id}/full.json`; - if (this.collection === 'paraclete') { + if (this.collection === 'triodion') { + dataPath = `/data/shared/triodion/${id}.json`; + } else if (this.collection === 'paraclete') { const m = id.match(/^t(\d)-(\w+)$/); if (!m) { contentEl.innerHTML = `
${this.t.prayer.notFound}
`;