Show a notification when a report is marked as a signal

This commit is contained in:
Eli Ribble 2026-03-19 19:07:48 +00:00
parent 2f1b612e9e
commit 7a111ab9b3
No known key found for this signature in database

View file

@ -155,6 +155,10 @@
},
async createSignal() {
console.log(
"Marking report as signal:",
this.selectedCommunication.id,
);
try {
const payload = {
reportID: this.selectedCommunication.id,
@ -169,6 +173,10 @@
if (!response.ok) {
throw new Error("Failed to submit signal");
}
this.showNotification(
"Report Marked Signal",
`Report #${this.selectedCommunication.id} has been marked as useful signal`,
);
// Remove from list after creating lead
this.removeCurrentFromList();
this.fetchCommunications();