mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Drop mergeDeep in favor of lodash merge (#5943)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref } from 'vue';
|
||||
import { merge } from 'lodash-es';
|
||||
import { INodeUi, Schema } from '@/Interface';
|
||||
import RunDataSchemaItem from '@/components/RunDataSchemaItem.vue';
|
||||
import Draggable from '@/components/Draggable.vue';
|
||||
@@ -8,7 +9,7 @@ import { useWebhooksStore } from '@/stores/webhooks';
|
||||
import { runExternalHook } from '@/mixins/externalHooks';
|
||||
import { telemetry } from '@/plugins/telemetry';
|
||||
import { IDataObject } from 'n8n-workflow';
|
||||
import { getSchema, isEmpty, mergeDeep } from '@/utils';
|
||||
import { getSchema, isEmpty } from '@/utils';
|
||||
import { i18n } from '@/plugins/i18n';
|
||||
import MappingPill from './MappingPill.vue';
|
||||
|
||||
@@ -32,7 +33,7 @@ const webhooksStore = useWebhooksStore();
|
||||
|
||||
const schema = computed<Schema>(() => {
|
||||
const [head, ...tail] = props.data;
|
||||
return getSchema(mergeDeep([head, ...tail, head]));
|
||||
return getSchema(merge({}, head, ...tail, head));
|
||||
});
|
||||
|
||||
const isDataEmpty = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user