Skip to content

Commit

Permalink
ReplaceEditorObjectFromConfig in v8 too
Browse files Browse the repository at this point in the history
  • Loading branch information
skttl committed Sep 6, 2019
1 parent 2421f19 commit 1c6bee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Skybrud.Umbraco.GridData/GridControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public class GridControl : GridJsonObject {
};

// As of Umbraco 7.3, information about the editor is no longer saved in the JSON, since these should be read from the configuration
if (UmbracoVersion.Current.Major == 7 && UmbracoVersion.Current.Minor >= 3) Howdy.ReplaceEditorObjectFromConfig(control);
if (UmbracoVersion.Current.Major > 7 || (UmbracoVersion.Current.Major == 7 && UmbracoVersion.Current.Minor >= 3)) Howdy.ReplaceEditorObjectFromConfig(control);

// Parse the editor
control.Editor = obj.GetObject("editor", x => GridEditor.Parse(control, x));
Expand Down

0 comments on commit 1c6bee4

Please sign in to comment.