Skip to content

Commit

Permalink
Fixed error in loading logic. Evidence was not loaded correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
cyb3rfox committed Mar 28, 2021
1 parent d06cdce commit f49f223
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ function updateSODFile() { //TODO: need to write that in a way that it also work
w2ui.grd_systems.refresh()
w2ui.grd_actions.records = case_data.actions
w2ui.grd_actions.refresh()
w2ui.grd_evidence.records = case_data.evidence
w2ui.grd_evidence.refresh()
w2ui.grd_investigators.records = case_data.investigators
w2ui.grd_investigators.refresh()
w2ui.grd_casenotes.records = case_data.casenotes
Expand Down Expand Up @@ -354,6 +356,8 @@ function openSODFile() {
w2ui.grd_systems.refresh()
w2ui.grd_actions.records = case_data.actions
w2ui.grd_actions.refresh()
w2ui.grd_evidence.records = case_data.evidence
w2ui.grd_evidence.refresh()
w2ui.grd_investigators.records = case_data.investigators
w2ui.grd_investigators.refresh()
w2ui.grd_casenotes.records = case_data.casenotes
Expand Down

0 comments on commit f49f223

Please sign in to comment.