Spaces:
Running
Running
Christina-A-Pan
commited on
Commit
·
559a7ba
1
Parent(s):
e7655e6
Added the ability to select which reports should be submitted to AVID. Also removed the completed checkbox in the Hypothesis panel along with accompanying data.
Browse files
indie_label_svelte/src/HypothesisPanel.svelte
CHANGED
|
@@ -440,7 +440,7 @@
|
|
| 440 |
|
| 441 |
</div>
|
| 442 |
|
| 443 |
-
<div class="spacing_vert_40">
|
| 444 |
<div class="head_6">
|
| 445 |
<b>Audit Category</b>
|
| 446 |
</div>
|
|
|
|
| 440 |
|
| 441 |
</div>
|
| 442 |
|
| 443 |
+
<div class="spacing_vert_40 spacing_vert_100_bottom">
|
| 444 |
<div class="head_6">
|
| 445 |
<b>Audit Category</b>
|
| 446 |
</div>
|
indie_label_svelte/src/SubmitReportDialog.svelte
CHANGED
|
@@ -10,6 +10,8 @@
|
|
| 10 |
export let all_reports;
|
| 11 |
let name = "";
|
| 12 |
let email = "";
|
|
|
|
|
|
|
| 13 |
let which_reports_to_submit = [];
|
| 14 |
for (let i = 0; i < all_reports.length; i++) {
|
| 15 |
which_reports_to_submit.push(false);
|
|
|
|
| 10 |
export let all_reports;
|
| 11 |
let name = "";
|
| 12 |
let email = "";
|
| 13 |
+
// which_reports_to_submit is an array of booleans that tracks whether the report
|
| 14 |
+
// in the corresponding index of all_reports should be submitted to AVID.
|
| 15 |
let which_reports_to_submit = [];
|
| 16 |
for (let i = 0; i < all_reports.length; i++) {
|
| 17 |
which_reports_to_submit.push(false);
|