fix for delete/archieve of custom gpt chats

This commit is contained in:
Oleh Bespalov
2025-04-20 23:17:54 +02:00
parent 5cfae41c76
commit 6c5f6d894d
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ async function archiveConversation(checkbox) {
console.log("1. Hovering over conversation...", conversationElement); console.log("1. Hovering over conversation...", conversationElement);
const interactiveElement = conversationElement.querySelector("[draggable=\"true\"]"); const interactiveElement = conversationElement.querySelector("[draggable]");
if (!interactiveElement) { if (!interactiveElement) {
console.log("Skipping conversation - no interactive elements found"); console.log("Skipping conversation - no interactive elements found");
// Show notification to user // Show notification to user

View File

@@ -63,7 +63,7 @@ async function deleteConversation(checkbox) {
console.log("conversationElement", conversationElement); console.log("conversationElement", conversationElement);
// Look for interactive element within the conversation element // Look for interactive element within the conversation element
const interactiveElement = conversationElement.querySelector("[draggable=\"true\"]"); const interactiveElement = conversationElement.querySelector("[draggable]");
if (!interactiveElement) { if (!interactiveElement) {
console.log("Skipping conversation - no interactive elements found"); console.log("Skipping conversation - no interactive elements found");
// Show notification to user // Show notification to user