fix index when no one is invoked

This commit is contained in:
Kinga Knapik 2025-12-05 19:13:36 +01:00
parent 068d98e855
commit b330c18d94
2 changed files with 1 additions and 2 deletions

View File

@ -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:

View File

@ -22,7 +22,6 @@
const list = j.current || [];
if(list.length === 0){
cont.textContent = '-';
return;
}
list.forEach(n => {
const el = document.createElement('div');