mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Ensure community node install button tracks user agreement (#6976)
https://share.cleanshot.com/2rlsnTpf
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
:class="[$style.checkbox, checkboxWarning ? $style.error : '', 'mt-l']"
|
||||
:disabled="loading"
|
||||
@update:modelValue="onCheckboxChecked"
|
||||
data-test-id="user-agreement-checkbox"
|
||||
>
|
||||
<n8n-text>
|
||||
{{ $locale.baseText('settings.communityNodes.installModal.checkbox.label') }} </n8n-text
|
||||
@@ -74,7 +75,7 @@
|
||||
<template #footer>
|
||||
<n8n-button
|
||||
:loading="loading"
|
||||
:disabled="packageName === '' || loading"
|
||||
:disabled="!userAgreed || packageName === '' || loading"
|
||||
:label="
|
||||
loading
|
||||
? $locale.baseText('settings.communityNodes.installModal.installButton.label.loading')
|
||||
@@ -83,6 +84,7 @@
|
||||
size="large"
|
||||
float="right"
|
||||
@click="onInstallClick"
|
||||
data-test-id="install-community-package-button"
|
||||
/>
|
||||
</template>
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user