diff --git a/frontend/src/stores/analysisStore.js b/frontend/src/stores/analysisStore.js index 9ed787e6..15514904 100644 --- a/frontend/src/stores/analysisStore.js +++ b/frontend/src/stores/analysisStore.js @@ -33,7 +33,7 @@ export const analysisStore = reactive({ if (!(header in this.updatedContent)) { this.updatedContent[header] = {}; } - + this.updatedContent[header][field] = value; }, @@ -44,10 +44,10 @@ export const analysisStore = reactive({ ); const updated = { - sections: updatedSections - } + sections: updatedSections, + }; - this.forceUpdate(updated) + this.forceUpdate(updated); // this.analysis.sections.splice(0); // this.analysis.sections.push(...updatedSections); this.updatedContent = {}; diff --git a/frontend/src/views/AnalysisView.vue b/frontend/src/views/AnalysisView.vue index 2fde80dc..af850e1a 100644 --- a/frontend/src/views/AnalysisView.vue +++ b/frontend/src/views/AnalysisView.vue @@ -210,7 +210,7 @@ function onAnalysisContentUpdated(contentRow) { return; } - analysisStore.addUpdatedContent(contentRow.header, contentRow.field, contentRow.value) + analysisStore.addUpdatedContent(contentRow.header, contentRow.field, contentRow.value); } /**