working on time list

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-08-18 01:23:29 +02:00
parent cedb798af8
commit 8bb44d0d7f
9 changed files with 52 additions and 15 deletions

View File

@@ -27,7 +27,7 @@
}
if (company_id) {
for (let comp of companies){
for (let comp of Object.keys(companies)){
if (comp.id == company_id){
load(comp);
break;
@@ -80,7 +80,7 @@
</script>
<fieldset>
<legend>{selected_company ? t( 'list_of',selected_company.name) : t('document_list')}</legend>
<legend>{selected_company ? t( 'docs_of_company',{company:selected_company.name}) : t('document_list')}</legend>
{#if error}
<div class="error">{error}</div>
{/if}