fix(editor): Allow pinned data for Code node AI generation (#13638)

This commit is contained in:
Charlie Kolb 2025-03-04 08:28:38 +01:00 committed by GitHub
parent 0a570f9bc8
commit 6d7e346e4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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),
);