From 1edcefbd6400c81b081f3b8b02cc421725ebf509 Mon Sep 17 00:00:00 2001 From: Fredrik Wahlberg Date: Fri, 24 Jan 2025 21:40:16 +0100 Subject: [PATCH] Ta bort kolon vid tomma taggar. Fixar #12 --- public/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };