Fix bug popup location for delete

This commit is contained in:
2025-07-01 12:54:23 +02:00
parent 6e998b784b
commit 0b51206062
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: {