Add back Loading Indicator, rework children caching, small visual improvement on character sheet and config management.

This commit is contained in:
Clément Pons
2026-01-12 17:48:28 +01:00
parent 0eaffcaa04
commit f761e44569
16 changed files with 333 additions and 238 deletions

View File

@@ -10,7 +10,7 @@ export default defineEventHandler(async (e) => {
if(!body.success)
{
setResponseStatus(e, 400);
return body.error.message;
throw body.error.message;
}
const session = await getUserSession(e);
@@ -39,7 +39,7 @@ export default defineEventHandler(async (e) => {
});
setResponseStatus(e, 201);
return id;
return { id, link: cryptURI('campaign', id) };
}
catch(_e)
{