mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(editor): Allow pinned data for Code node AI generation (#13638)
This commit is contained in:
parent
0a570f9bc8
commit
6d7e346e4f
|
@ -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),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue