diff --git a/renderer/carbone-templates/433a0593-d3cf-414e-8763-ab5f87cbc75c.docx b/renderer/carbone-templates/433a0593-d3cf-414e-8763-ab5f87cbc75c.docx index 4f6839e..ef2e299 100644 Binary files a/renderer/carbone-templates/433a0593-d3cf-414e-8763-ab5f87cbc75c.docx and b/renderer/carbone-templates/433a0593-d3cf-414e-8763-ab5f87cbc75c.docx differ diff --git a/renderer/carbone-templates/registry.json b/renderer/carbone-templates/registry.json index ab490d5..8220a8d 100644 --- a/renderer/carbone-templates/registry.json +++ b/renderer/carbone-templates/registry.json @@ -6,6 +6,6 @@ "originalName": "master_cv_template.docx", "path": "/root/workspace/cv-app/renderer/carbone-templates/433a0593-d3cf-414e-8763-ab5f87cbc75c.docx", "uploadedAt": "2026-07-16T09:03:29.601Z", - "updatedAt": "2026-07-16T12:03:58.509Z" + "updatedAt": "2026-07-16T12:06:39.375Z" } ] \ No newline at end of file diff --git a/static/carbone.js b/static/carbone.js index ed6405d..0e66a1d 100644 --- a/static/carbone.js +++ b/static/carbone.js @@ -376,6 +376,12 @@ async function openOnlyofficeEditor(templateId, templateName) { document.addEventListener('DOMContentLoaded', () => { const templatesPage = document.getElementById('page-templates'); if (templatesPage) { + // Check on initial load (page may already be active from sessionStorage restore) + if (templatesPage.classList.contains('active')) { + checkOnlyofficeStatus(); + loadOnlyofficeTemplates(); + } + // Also watch for future tab switches const observer = new MutationObserver(() => { if (templatesPage.classList.contains('active')) { checkOnlyofficeStatus(); diff --git a/static/index.html b/static/index.html index 296debb..79e4bce 100644 --- a/static/index.html +++ b/static/index.html @@ -139,7 +139,7 @@ - - + + \ No newline at end of file