mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor-ui): Disable editing in Function nodes in executions view (#4041)
🐛 Disable editing in Function nodes in executions view
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
:before-close="closeDialog"
|
||||
>
|
||||
<div class="text-editor-wrapper ignore-key-press">
|
||||
<code-editor :value="value" :autocomplete="loadAutocompleteData" @input="$emit('valueChanged', $event)" />
|
||||
<code-editor :value="value" :autocomplete="loadAutocompleteData" :readonly="readonly" @input="$emit('valueChanged', $event)" />
|
||||
</div>
|
||||
</el-dialog>
|
||||
</template>
|
||||
@@ -41,7 +41,7 @@ export default mixins(
|
||||
components: {
|
||||
CodeEditor,
|
||||
},
|
||||
props: ['codeAutocomplete', 'parameter', 'path', 'type', 'value'],
|
||||
props: ['codeAutocomplete', 'parameter', 'path', 'type', 'value', 'readonly'],
|
||||
methods: {
|
||||
loadAutocompleteData(): string[] {
|
||||
if (['function', 'functionItem'].includes(this.codeAutocomplete)) {
|
||||
|
||||
Reference in New Issue
Block a user