Be consistent about using report.public_id over report.id

This commit is contained in:
Eli Ribble 2026-04-14 01:26:23 +00:00
parent 02139450c6
commit 3c62fe2ca1
No known key found for this signature in database
9 changed files with 19 additions and 29 deletions

View file

@ -10,7 +10,7 @@ export const useStorePublicReport = defineStore("publicreport", () => {
//const ongoingFetch = ref<Promise<PublicReport[]> | null>(null);
function add(pr: PublicReport) {
_byID.value.set(pr.id, pr);
_byID.value.set(pr.public_id, pr);
}
// Actions
async function byID(id: string): Promise<PublicReport | undefined> {