Skip to content

Commit

Permalink
fix: database filter option can not display
Browse files Browse the repository at this point in the history
  • Loading branch information
tiny-craft committed Jun 19, 2024
1 parent 65cfdd1 commit aa8c549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/dialogs/ConnectionDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ const pasteFromClipboard = async () => {
</n-radio-group>
</n-form-item-gi>
<n-form-item-gi
v-show="generalForm.dbFilterType !== 'none'"
v-if="generalForm.dbFilterType !== 'none'"
:label="$t('dialogue.connection.advn.dbfilter_input')"
:span="24">
<n-select
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/sidebar/ConnectionTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ const findSiblingsAndIndex = (node, nodes) => {
}
// 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) {
Expand Down

0 comments on commit aa8c549

Please sign in to comment.