Skip to content

Commit

Permalink
Fix conditions if empty frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrands02 committed Dec 12, 2024
1 parent 255352b commit 8131c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modals/Synchronization/EditSynchronization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ export default {
sourceId: this.sourceOptions.sourceValue?.id || null,
sourceType: this.typeOptions.value?.id || null,
sourceTargetMapping: this.sourceTargetMappingOptions.sourceValue?.id || null,
conditions: JSON.parse(this.synchronizationItem.conditions) || null,
conditions: this.synchronizationItem.conditions ? JSON.parse(this.synchronizationItem.conditions) : [],
targetType: this.targetTypeOptions.value?.id || null,
targetId: targetId || null,
targetSourceMapping: this.sourceTargetMappingOptions.targetValue?.id || null,
Expand Down

0 comments on commit 8131c2f

Please sign in to comment.