mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 16:44:07 -08:00
fix projects
This commit is contained in:
parent
87bee7123e
commit
2c3689a9ef
|
@ -203,9 +203,12 @@ const trackCategoryLinkClick = (category: string) => {
|
|||
const fetchWorkflowsWithFilters = async () => {
|
||||
const { homeProject, status, credentials, nodeTypes, nodeName, webhookUrl, httpNodeUrl, tags } =
|
||||
filters.value;
|
||||
|
||||
const projectId =
|
||||
typeof route.params?.projectId === 'string' ? route.params.projectId : homeProject;
|
||||
const options: WorkflowsFetchOptions = {
|
||||
filter: {
|
||||
projectId: homeProject ? homeProject : undefined,
|
||||
projectId,
|
||||
active: status === StatusFilter.ACTIVE ? true : undefined,
|
||||
tags: tags.map((tagId) => tagsStore.tagsById[tagId]?.name),
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue