Remove now-empty report address fields
We'll instead create address rows and reference those
This commit is contained in:
parent
5306f8ba62
commit
9ba99d5ceb
10 changed files with 128 additions and 312 deletions
|
|
@ -151,11 +151,7 @@ async function fetchExistingReport(report_uri: string) {
|
|||
return;
|
||||
}
|
||||
const body = await resp.json();
|
||||
report.value.comments = body.comments;
|
||||
report.value.id = body.id;
|
||||
report.value.images = body.images;
|
||||
report.value.uri = body.uri;
|
||||
report.value.address = body.address;
|
||||
report.value = body;
|
||||
isLoading.value = false;
|
||||
}
|
||||
async function updateReport(updates: ComplianceUpdate) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue