fix: avoid Convex skip sentinel in queries
This commit is contained in:
parent
3880ff57bd
commit
3de7eccaa8
32 changed files with 131 additions and 125 deletions
|
|
@ -135,7 +135,7 @@ export function CloseTicketDialog({
|
|||
const closingTemplateArgs =
|
||||
actorId && open ? { tenantId, viewerId: actorId, kind: "closing" as const } : undefined
|
||||
const closingTemplatesRemote = useQuery(
|
||||
actorId && open ? api.commentTemplates.list : "skip",
|
||||
actorId && open ? api.commentTemplates.list : undefined,
|
||||
closingTemplateArgs
|
||||
)
|
||||
const closingTemplates = Array.isArray(closingTemplatesRemote)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue