Skip to content

Commit

Permalink
feat: sorted dcouments block (#2730)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomer-shvadron committed Sep 25, 2024
1 parent f045230 commit 5142b8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,11 @@ export const useDocumentBlocks = ({
},
),
},
props: {
config: {
sort: { predefinedOrder: ['category', 'type'] },
},
},
workflowId: workflow?.id,
documents: workflow?.context?.documents,
})
Expand Down
2 changes: 1 addition & 1 deletion services/workflows-service/prisma/data-migrations

0 comments on commit 5142b8e

Please sign in to comment.