feat(editor): Add free AI credits CTA (#12365)

This commit is contained in:
Ricardo Espinoza
2024-12-30 07:35:49 -05:00
committed by GitHub
parent e26b406665
commit f8731963f6
15 changed files with 411 additions and 17 deletions

View File

@@ -55,6 +55,7 @@ type Props = {
isRetesting?: boolean;
requiredPropertiesFilled?: boolean;
showAuthTypeSelector?: boolean;
isManaged?: boolean;
};
const props = withDefaults(defineProps<Props>(), {
@@ -235,7 +236,10 @@ watch(showOAuthSuccessBanner, (newValue, oldValue) => {
</script>
<template>
<div>
<n8n-callout v-if="isManaged" theme="warning" icon="exclamation-triangle">
{{ i18n.baseText('freeAi.credits.credentials.edit') }}
</n8n-callout>
<div v-else>
<div :class="$style.config" data-test-id="node-credentials-config-container">
<Banner
v-show="showValidationWarning"