Discover: Filters Save done.
This commit is contained in:
@@ -133,16 +133,19 @@
|
||||
*/
|
||||
enterDiscover(file){
|
||||
let logId;
|
||||
let filterId;
|
||||
|
||||
if(file.fileType === 'Log'){
|
||||
logId = file.id;
|
||||
this.createFilterId = null;
|
||||
logId = file.id;
|
||||
this.$router.push({name: 'DiscoverLog', params: { logId: logId }})
|
||||
}
|
||||
else if(file.fileType === 'Filter') {
|
||||
this.createFilterId = file.id;
|
||||
logId = file.log.id;
|
||||
filterId = file.id;
|
||||
this.$router.push({name: 'DiscoverFilter', params: { filterId: filterId }})
|
||||
}
|
||||
this.$router.push({ name: 'Discover', params: { logId: logId }});
|
||||
},
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.store.fetchEventLog();
|
||||
|
||||
Reference in New Issue
Block a user