fix index when no one is invoked
This commit is contained in:
parent
068d98e855
commit
b330c18d94
|
|
@ -14,7 +14,7 @@ In the repo directory:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker build -t queue-app:latest .
|
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:
|
Preview should be available on:
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
const list = j.current || [];
|
const list = j.current || [];
|
||||||
if(list.length === 0){
|
if(list.length === 0){
|
||||||
cont.textContent = '-';
|
cont.textContent = '-';
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
list.forEach(n => {
|
list.forEach(n => {
|
||||||
const el = document.createElement('div');
|
const el = document.createElement('div');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue