Skip to content

Commit

Permalink
Include default field values when upgrading a preset with a specific …
Browse files Browse the repository at this point in the history
…replacement (close #7033)
  • Loading branch information
quincylvania committed Nov 11, 2019
1 parent 87f4f35 commit e85b6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/validations/outdated_tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function validationOutdatedTags(context) {
// upgrade preset..
if (preset.replacement) {
var newPreset = context.presets().item(preset.replacement);
graph = actionChangePreset(entity.id, preset, newPreset, true)(graph); // true = skip field defaults
graph = actionChangePreset(entity.id, preset, newPreset)(graph);
entity = graph.entity(entity.id);
preset = newPreset;
}
Expand Down

0 comments on commit e85b6b9

Please sign in to comment.