Skip to content

Commit

Permalink
Merge pull request #403 from Security-Onion-Solutions/cogburn/404-sav…
Browse files Browse the repository at this point in the history
…e-fix

Prepare Detection After Save
  • Loading branch information
coreyogburn authored Apr 1, 2024
2 parents e77932d + 4d5a93e commit e93c2df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions html/js/routes/detection.js
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,10 @@ routes.push({ path: '/detection/:id', name: 'detection', component: {
}

this.detect = response.data;
delete this.detect.kind;

this.tagOverrides();
this.loadAssociations();
this.origDetect = Object.assign({}, this.detect);

// reinstate expanded override
Expand Down

0 comments on commit e93c2df

Please sign in to comment.