Merged PR 186: Fix bug popup location for delete

Fix bug popup location for delete
This commit is contained in:
2025-07-01 10:58:08 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -362,7 +362,7 @@ const confirmDeleteFromVectorStore = (id) => {
// Funzione per cancellare record in stato LOADED
const deleteLoadedRecord = async (id) => {
confirm.require({
target: document.body,
target: event.target,
message: 'Are you sure you want to proceed?',
icon: 'pi pi-exclamation-triangle',
rejectProps: {

View File

@@ -327,7 +327,7 @@ const confirmDeleteFromVectorStore = (id) => {
// Funzione per cancellare record in stato LOADED
const deleteLoadedRecord = async (id) => {
confirm.require({
target: document.body,
target: event.target,
message: 'Are you sure you want to proceed?',
icon: 'pi pi-exclamation-triangle',
rejectProps: {