mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Make resource locator work with data tables (no-changelog) (#18899)
This commit is contained in:
@@ -55,6 +55,7 @@ import {
|
||||
} from '../../utils/fromAIOverrideUtils';
|
||||
import { N8nNotice } from '@n8n/design-system';
|
||||
import { completeExpressionSyntax } from '@/utils/expressions';
|
||||
import { useProjectsStore } from '@/stores/projects.store';
|
||||
|
||||
/**
|
||||
* Regular expression to check if the error message contains credential-related phrases.
|
||||
@@ -144,6 +145,7 @@ const ndvStore = useNDVStore();
|
||||
const rootStore = useRootStore();
|
||||
const uiStore = useUIStore();
|
||||
const workflowsStore = useWorkflowsStore();
|
||||
const projectsStore = useProjectsStore();
|
||||
|
||||
const appName = computed(() => {
|
||||
if (!props.node) {
|
||||
@@ -270,6 +272,7 @@ const currentRequestParams = computed(() => {
|
||||
parameters: props.node?.parameters ?? {},
|
||||
credentials: props.node?.credentials ?? {},
|
||||
filter: searchFilter.value,
|
||||
projectId: projectsStore.currentProjectId,
|
||||
};
|
||||
});
|
||||
|
||||
@@ -722,6 +725,7 @@ async function loadResources() {
|
||||
methodName: loadOptionsMethod,
|
||||
currentNodeParameters: resolvedNodeParameters,
|
||||
credentials: props.node.credentials,
|
||||
projectId: projectsStore.currentProjectId,
|
||||
};
|
||||
|
||||
if (params.filter) {
|
||||
|
||||
Reference in New Issue
Block a user