mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-08-23 18:02:29 +02:00
fix(state and toast):
This commit is contained in:
@@ -171,6 +171,7 @@ var app = new Vue({
|
|||||||
this.integrationVerified = false;
|
this.integrationVerified = false;
|
||||||
this.showResetConfirmation = false;
|
this.showResetConfirmation = false;
|
||||||
this.enableMultiStepAttack = false;
|
this.enableMultiStepAttack = false;
|
||||||
|
this.showToast('All settings have been reset to default', 'info');
|
||||||
},
|
},
|
||||||
confirmResetState() {
|
confirmResetState() {
|
||||||
this.showResetConfirmation = true;
|
this.showResetConfirmation = true;
|
||||||
@@ -257,6 +258,7 @@ var app = new Vue({
|
|||||||
this.errorMsg = '';
|
this.errorMsg = '';
|
||||||
this.okMsg = '';
|
this.okMsg = '';
|
||||||
this.integrationVerified = false;
|
this.integrationVerified = false;
|
||||||
|
this.showToast(`Config ${index + 1} selected`, 'info');
|
||||||
},
|
},
|
||||||
toggleModules() {
|
toggleModules() {
|
||||||
this.showModules = !this.showModules;
|
this.showModules = !this.showModules;
|
||||||
@@ -344,6 +346,7 @@ var app = new Vue({
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
console.log('New row');
|
console.log('New row');
|
||||||
|
this.showToast('New module', 'success');
|
||||||
let payload = {
|
let payload = {
|
||||||
table: this.mainTable,
|
table: this.mainTable,
|
||||||
};
|
};
|
||||||
@@ -454,6 +457,8 @@ var app = new Vue({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
this.scanRunning = false;
|
||||||
|
this.showToast('Scan finished successfully', 'success');
|
||||||
this.saveStateToLocalStorage();
|
this.saveStateToLocalStorage();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user