Undo line deletion

Forgot to add it back on undoing previous changes
This commit is contained in:
Shreya 2020-05-04 14:26:20 +05:30
parent 319c1c27bb
commit 3bfdcb9e9a
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ class ConfigurePageComponent extends AuthComponent {
if (techType[1].properties.hasOwnProperty(technique)) { if (techType[1].properties.hasOwnProperty(technique)) {
let tempMatrix = this.state.attackConfig; let tempMatrix = this.state.attackConfig;
tempMatrix[techType[0]].properties[technique].value = value; tempMatrix[techType[0]].properties[technique].value = value;
this.setState({attackConfig: tempMatrix});
// Toggle all mapped techniques // Toggle all mapped techniques
if (!mapped) { if (!mapped) {