Be consistent about using report.public_id over report.id
This commit is contained in:
parent
02139450c6
commit
3c62fe2ca1
9 changed files with 19 additions and 29 deletions
|
|
@ -697,7 +697,7 @@ async function doSubmit() {
|
|||
});
|
||||
const data: PublicReport = (await resp.json()) as PublicReport;
|
||||
storePublicReport.add(data);
|
||||
router.push("/submitted/" + data.id);
|
||||
router.push("/submitted/" + data.public_id);
|
||||
} catch (error) {
|
||||
errorMessage.value =
|
||||
error instanceof Error ? error.message : "Upload failed";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue