Skip to content

Commit

Permalink
Fix for edu-content schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Feb 20, 2019
1 parent c070843 commit 7b342e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected void On(FieldAdded @event)
SchemaDef = SchemaDef.AddField(field);
}

SchemaFieldsTotal++;
SchemaFieldsTotal = Math.Max(SchemaFieldsTotal, @event.FieldId.Id);
}

protected void On(SchemaCategoryChanged @event)
Expand Down

0 comments on commit 7b342e0

Please sign in to comment.