- {{ $locale.baseText('settings.communityNodes.installModal.description') }}
+ {{ i18n.baseText('settings.communityNodes.installModal.description') }}
{{ ' ' }}
- {{ $locale.baseText('generic.moreInfo') }}
+ {{ i18n.baseText('generic.moreInfo') }}
- {{ $locale.baseText('settings.communityNodes.installModal.checkbox.label') }}
{{
- $locale.baseText('generic.moreInfo')
+ i18n.baseText('generic.moreInfo')
}}
@@ -177,8 +166,8 @@ export default defineComponent({
:disabled="!userAgreed || packageName === '' || loading"
:label="
loading
- ? $locale.baseText('settings.communityNodes.installModal.installButton.label.loading')
- : $locale.baseText('settings.communityNodes.installModal.installButton.label')
+ ? i18n.baseText('settings.communityNodes.installModal.installButton.label.loading')
+ : i18n.baseText('settings.communityNodes.installModal.installButton.label')
"
size="large"
float="right"
diff --git a/packages/editor-ui/src/components/CommunityPackageManageConfirmModal.vue b/packages/editor-ui/src/components/CommunityPackageManageConfirmModal.vue
index 6f078662871429..60505ee7a06989 100644
--- a/packages/editor-ui/src/components/CommunityPackageManageConfirmModal.vue
+++ b/packages/editor-ui/src/components/CommunityPackageManageConfirmModal.vue
@@ -1,163 +1,137 @@
-
diff --git a/packages/editor-ui/src/components/__tests__/CommunityPackageInstallModal.spec.ts b/packages/editor-ui/src/components/__tests__/CommunityPackageInstallModal.spec.ts
index 4dfe8c7135e72f..a93ba7c878e41d 100644
--- a/packages/editor-ui/src/components/__tests__/CommunityPackageInstallModal.spec.ts
+++ b/packages/editor-ui/src/components/__tests__/CommunityPackageInstallModal.spec.ts
@@ -45,8 +45,11 @@ describe('CommunityPackageInstallModal', () => {
await retry(() => expect(getByTestId('communityPackageInstall-modal')).toBeInTheDocument());
+ const packageNameInput = getByTestId('package-name-input');
const installButton = getByTestId('install-community-package-button');
+ await userEvent.type(packageNameInput, 'n8n-nodes-test');
+
expect(installButton).toBeDisabled();
await userEvent.click(getByTestId('user-agreement-checkbox'));