diff --git a/dist/index.html b/dist/index.html
index 7735add..0039a2f 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -5,7 +5,7 @@
-
+
diff --git a/src/components/common/Instructions.vue b/src/components/common/Instructions.vue
index ab4b406..4f6253f 100644
--- a/src/components/common/Instructions.vue
+++ b/src/components/common/Instructions.vue
@@ -25,7 +25,8 @@ export default {
diff --git a/src/components/hitbox/HitBox.vue b/src/components/hitbox/HitBox.vue
index 3201a03..5b41c46 100644
--- a/src/components/hitbox/HitBox.vue
+++ b/src/components/hitbox/HitBox.vue
@@ -230,8 +230,9 @@ export default {
projectId: this.config.database.project_id,
});
- const collection = this.config.database.collection || 'thresh_progress';
+ const collection ='thresh_progress';
const doc_id = 'annotations';
+ const domain = this.config.database.domain || '';
// Get Prolific information if it exists
// if (this.config.crowdsource == "prolific") {
@@ -244,8 +245,8 @@ export default {
}
// }
- const field_id = prolific.cnet_id + "_" + prolific.exp_id + "_" + prolific.session_id;//this.config.database.field;
-
+ const field_id = domain + '_' + prolific.cnet_id;
+
const db = getFirestore(firebaseApp);
const docRef = doc(db, collection, doc_id);
@@ -281,7 +282,7 @@ export default {
projectId: this.config.database.project_id,
});
- const collection = this.config.database.collection || 'thresh_progress';
+ const collection = 'thresh_progress';
const doc_id = 'annotations';
const domain = this.config.database.domain || '';