Skip to content

Commit

Permalink
fix: fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Aug 23, 2024
1 parent c613ccd commit 2ea202d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
$: selected = writable<string[]>(value)
let hasValue = Array.isArray(value) && value.length > 0
$: selected, (hasValue = Array.isArray(value) && value.length > 0)
$: hasValueReactive = Array.isArray($selected) && $selected.length > 0
$: if (hasValue && !hasValueReactive) {
hasValue = hasValueReactive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import { readable, writable } from "svelte/store"
import { ReferenceField, TableCreator } from "@undb/table"
import Button from "$lib/components/ui/button/button.svelte"
import { Skeleton } from "$lib/components/ui/skeleton"
import { LoaderCircleIcon } from "lucide-svelte"
export let isSelected = false
Expand Down
1 change: 1 addition & 0 deletions packages/persistence/src/abstract-qb.visitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export abstract class AbstractQBVisitor<T> implements IAbastractQBVisitor, ISpec
spec.accept(v)

v.setIsNot(false)
this.addCond(v.cond)

return this
}
Expand Down

0 comments on commit 2ea202d

Please sign in to comment.