enh: ctrl+shift+delete chat delete support

This commit is contained in:
Timothy J. Baek committed 2024-10-19 01:06:30 -07:00
1 parent 99f70cac8b
commit 0556479cbe
4 files changed
+16 -13

No files matched your search

-6
View File
@@ -58,13 +58,7 @@
let shiftKey = false;
let selectedChatId = null;
let deleteChat = null;
let showDeleteConfirm = false;
let showDropdown = false;
let selectedTagName = null;
let showPinnedChat = true;
// Pagination variables
@@ -389,7 +389,7 @@
id="delete-chat-button"
class="hidden"
on:click={() => {
dispatch('delete');
showDeleteConfirm = true;
}}
>
<svg