Skip to content

Commit

Permalink
Don't run legacy migrator if data type changing is Meganav
Browse files Browse the repository at this point in the history
  • Loading branch information
callumbwhyte committed May 23, 2022
1 parent cbd7aa8 commit 096dc85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void Handle(DataTypeSavingNotification notification)
{
var existingEntity = _dataTypeService.GetDataType(x.Id);

return existingEntity != null && LegacyEditors.Aliases.Any(existingEntity.EditorAlias.InvariantContains);
return existingEntity?.EditorAlias != Constants.PropertyEditorAlias && LegacyEditors.Aliases.Any(existingEntity.EditorAlias.InvariantContains);
});

foreach (var dataType in dataTypes)
Expand Down

0 comments on commit 096dc85

Please sign in to comment.