Load communication reports asynchronously

This solves some problems created by making the publicreport part of the
communication API consistent. There are a lot of optimizations still on
the table with this one, but for now I need to get this out.
This commit is contained in:
Eli Ribble 2026-04-28 14:49:02 +00:00
parent 6e3d079c46
commit b68d93ec91
No known key found for this signature in database
12 changed files with 184 additions and 233 deletions

View file

@ -63,6 +63,8 @@ export const useStorePublicReport = defineStore("publicreport", () => {
} catch (err) {
console.error("Error loading users:", err);
throw err;
} finally {
loading.value = false;
}
}
async function update(
@ -81,5 +83,7 @@ export const useStorePublicReport = defineStore("publicreport", () => {
fetchByID,
fetchByURI,
update,
// State
loading,
};
});