From b330c18d940bd51c0bd736eeede9062fc8729344 Mon Sep 17 00:00:00 2001 From: Kinga Date: Fri, 5 Dec 2025 19:13:36 +0100 Subject: [PATCH] fix index when no one is invoked --- README.md | 2 +- src/templates/index.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 6c53c7e..192f6c4 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ In the repo directory: ``` docker build -t queue-app:latest . -docker run -p="5000:5000" --volume="$PWD:/data:" -it queue-app:latest +docker run -p="5000:5000" --volume="$PWD:/data" -it queue-app:latest ``` Preview should be available on: diff --git a/src/templates/index.html b/src/templates/index.html index 8f33a9d..a3afb66 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -22,7 +22,6 @@ const list = j.current || []; if(list.length === 0){ cont.textContent = '-'; - return; } list.forEach(n => { const el = document.createElement('div');