mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Don't mark node as dirty when NDV is opened (#15222)
This commit is contained in:
@@ -13,7 +13,7 @@ import type {
|
||||
ResourceMapperFields,
|
||||
ResourceMapperValue,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeHelpers } from 'n8n-workflow';
|
||||
import { deepCopy, NodeHelpers } from 'n8n-workflow';
|
||||
import { computed, onMounted, reactive, watch } from 'vue';
|
||||
import MappingModeSelect from './MappingModeSelect.vue';
|
||||
import MatchingColumnsSelect from './MatchingColumnsSelect.vue';
|
||||
@@ -537,7 +537,9 @@ function emitValueChanged(): void {
|
||||
pruneParamValues();
|
||||
emit('valueChanged', {
|
||||
name: `${props.path}`,
|
||||
value: state.paramValue,
|
||||
// deepCopy ensures that mutations to state.paramValue that occur in
|
||||
// this component are never visible to the store without explicit event emits
|
||||
value: deepCopy(state.paramValue),
|
||||
node: props.node?.name,
|
||||
});
|
||||
updateNodeIssues();
|
||||
|
||||
Reference in New Issue
Block a user