From aa8c5495c107fad8f96121d5d55191a556de321c Mon Sep 17 00:00:00 2001 From: Lykin <137850705+tiny-craft@users.noreply.github.com> Date: Wed, 19 Jun 2024 10:36:57 +0800 Subject: [PATCH] fix: database filter option can not display --- frontend/src/components/dialogs/ConnectionDialog.vue | 2 +- frontend/src/components/sidebar/ConnectionTree.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/dialogs/ConnectionDialog.vue b/frontend/src/components/dialogs/ConnectionDialog.vue index e142437..2aa8ab5 100644 --- a/frontend/src/components/dialogs/ConnectionDialog.vue +++ b/frontend/src/components/dialogs/ConnectionDialog.vue @@ -507,7 +507,7 @@ const pasteFromClipboard = async () => { { } // delay save until drop stopped after 2 seconds -const saveSort = debounce(connectionStore.saveConnectionSorted, 2000, { trailing: true }) +const saveSort = debounce(connectionStore.saveConnectionSorted, 1500, { trailing: true }) const handleDrop = ({ node, dragNode, dropPosition }) => { const [dragNodeSiblings, dragNodeIndex] = findSiblingsAndIndex(dragNode, connectionStore.connections) if (dragNodeSiblings === null || dragNodeIndex === null) {