Update popup info for deletion
This commit is contained in:
@@ -314,7 +314,7 @@ const confirmDeleteFromVectorStore = (id) => {
|
|||||||
console.log("Updated element", element)
|
console.log("Updated element", element)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
toast.add({ severity: 'success', summary: 'Success', detail: 'Deletion Completed', life: 3000 });
|
toast.add({ severity: 'info', summary: 'Info', detail: 'Deletion started', life: 3000 });
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
console.error('Error deleting records: ', error)
|
console.error('Error deleting records: ', error)
|
||||||
|
|||||||
Reference in New Issue
Block a user