mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Allow pinned data for Code node AI generation (#13638)
This commit is contained in:
@@ -54,7 +54,9 @@ const isSubmitEnabled = computed(() => {
|
||||
hasExecutionData.value
|
||||
);
|
||||
});
|
||||
const hasExecutionData = computed(() => (useNDVStore().ndvInputData || []).length > 0);
|
||||
const hasExecutionData = computed(
|
||||
() => (useNDVStore().ndvInputDataWithPinnedData || []).length > 0,
|
||||
);
|
||||
const loadingString = computed(() =>
|
||||
i18n.baseText(`codeNodeEditor.askAi.loadingPhrase${loadingPhraseIndex.value}` as BaseTextKey),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user