diff --git a/public/app.js b/public/app.js index cb116a4..dfd3610 100644 --- a/public/app.js +++ b/public/app.js @@ -52,7 +52,7 @@ document.addEventListener('DOMContentLoaded', function() { // Structure data for Org mode const taskData = { - subject: `${subject} :${tags}:`, + subject: tags ? `${subject} :${tags}:` : subject, description, scheduled };