mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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
|
hasExecutionData.value
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
const hasExecutionData = computed(() => (useNDVStore().ndvInputData || []).length > 0);
|
const hasExecutionData = computed(
|
||||||
|
() => (useNDVStore().ndvInputDataWithPinnedData || []).length > 0,
|
||||||
|
);
|
||||||
const loadingString = computed(() =>
|
const loadingString = computed(() =>
|
||||||
i18n.baseText(`codeNodeEditor.askAi.loadingPhrase${loadingPhraseIndex.value}` as BaseTextKey),
|
i18n.baseText(`codeNodeEditor.askAi.loadingPhrase${loadingPhraseIndex.value}` as BaseTextKey),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user