replacing site-local error display by global error display

This commit is contained in:
2025-09-26 15:27:20 +02:00
parent 2a6392cd2b
commit e3b735bb7b
16 changed files with 62 additions and 66 deletions

View File

@@ -26,7 +26,7 @@
Object.entries(input).map(([key, value]) => [key, value.name])
);
} else {
error(await resp.text());
error(resp);
return {};
}
}
@@ -43,7 +43,7 @@
for (let key of Object.keys(patched)) company[key] = patched[key];
return true;
}
error(await resp.text())
error(resp);
return false;
}
@@ -107,4 +107,4 @@
<button onclick={saveUsers} disabled={!btnEnabled} >{caption}</button>
</fieldset>
{/if}
</fieldset>
</fieldset>