mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 16:31:01 +00:00
Добавлены оповещения при начале обработки файла
This commit is contained in:
parent
03a7a45361
commit
c4d60c9ee2
@ -131,6 +131,11 @@
|
||||
}
|
||||
case 'PCAP_STARTED': {
|
||||
this.$store.commit('startPcap');
|
||||
this.$bvToast.toast(`Pcap file processing started`, {
|
||||
title: 'Notification',
|
||||
variant: 'info',
|
||||
autoHideDelay: 5000,
|
||||
});
|
||||
break;
|
||||
}
|
||||
case 'PCAP_STOPPED': {
|
||||
|
||||
@ -176,6 +176,11 @@
|
||||
this.$http.post('pcap/start')
|
||||
.then(() => {
|
||||
this.$store.commit('startPcap');
|
||||
this.$bvToast.toast(`Pcap file processing started`, {
|
||||
title: 'Notification',
|
||||
variant: 'info',
|
||||
autoHideDelay: 5000,
|
||||
});
|
||||
}).catch(e => {
|
||||
this.$bvToast.toast(`Failed to start pcap: ${e}`, {
|
||||
title: 'Error',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user