bugfix on document list

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-09-04 15:26:07 +02:00
parent 5b97fe8999
commit 885a62e7e1

View File

@@ -57,9 +57,8 @@
} else { } else {
error = await resp.text(); error = await resp.text();
} }
if (company_id) { if (company_id) {
for (let comp of companies){ for (let comp of Object.values(companies)){
if (comp.id == company_id){ if (comp.id == company_id){
load(comp); load(comp);
break; break;