diff --git a/app/backend/src/views/iocs-misp.vue b/app/backend/src/views/iocs-misp.vue index 4becd1a..447f54b 100644 --- a/app/backend/src/views/iocs-misp.vue +++ b/app/backend/src/views/iocs-misp.vue @@ -18,16 +18,16 @@ - -
- ✓ MISP instance added successfully. + ✓ MISP instance added successfully. Redirecting to instances in 2 seconds.
@@ -108,6 +108,10 @@ export default { axios.post(`/api/misp/add`, { data: { instance: this.mispinst } }, { headers: {'X-Token': this.jwt} }).then(response => { if(response.data.status){ this.added = true; + setTimeout(function (){ + this.switch_tab('instances') + this.mispinst = { name:'', url:'',key:'', ssl:false } + }.bind(this), 2000); } else { this.error = response.data.message; }