import fix
This commit is contained in:
parent
778b793fec
commit
1ee0d4cdbf
1 changed files with 5 additions and 2 deletions
|
|
@ -31,7 +31,10 @@ import {
|
||||||
DialogTrigger,
|
DialogTrigger,
|
||||||
} from "@/components/ui/dialog";
|
} from "@/components/ui/dialog";
|
||||||
import { StatusBadge } from "@/components/ui/status-badge";
|
import { StatusBadge } from "@/components/ui/status-badge";
|
||||||
import { DeleteConfirmationDialog } from "../../components/delete-confirmation-dialog";
|
import {
|
||||||
|
DeleteConfirmationDialog,
|
||||||
|
formatFilesToDelete,
|
||||||
|
} from "../../components/delete-confirmation-dialog";
|
||||||
import GoogleDriveIcon from "../../components/icons/google-drive-logo";
|
import GoogleDriveIcon from "../../components/icons/google-drive-logo";
|
||||||
import OneDriveIcon from "../../components/icons/one-drive-logo";
|
import OneDriveIcon from "../../components/icons/one-drive-logo";
|
||||||
import SharePointIcon from "../../components/icons/share-point-logo";
|
import SharePointIcon from "../../components/icons/share-point-logo";
|
||||||
|
|
@ -399,7 +402,7 @@ function SearchPage() {
|
||||||
}? This will remove all chunks and data associated with these documents. This action cannot be undone.
|
}? This will remove all chunks and data associated with these documents. This action cannot be undone.
|
||||||
|
|
||||||
Documents to be deleted:
|
Documents to be deleted:
|
||||||
${selectedRows.map((row) => `• ${row.filename}`).join("\n")}`}
|
${formatFilesToDelete(selectedRows)}`}
|
||||||
confirmText={selectedRows.length > 1 ? "Delete All" : "Delete"}
|
confirmText={selectedRows.length > 1 ? "Delete All" : "Delete"}
|
||||||
onConfirm={handleBulkDelete}
|
onConfirm={handleBulkDelete}
|
||||||
isLoading={deleteDocumentMutation.isPending}
|
isLoading={deleteDocumentMutation.isPending}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue