enh: ctrl+shift+delete chat delete support

This commit is contained in:
Timothy J. Baek
2024-10-19 01:06:30 -07:00
parent 99f70cac8b
commit 0556479cbe
4 changed files with 16 additions and 13 deletions
-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