Skip to content

Commit 8b6b008

Browse files
committed
Merge pull request #672 from elbunuelo/patch-1
Proposed fix for issue 590
2 parents abdfd06 + e78ecc8 commit 8b6b008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/builder.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ angular.module('schemaForm').provider('sfBuilder', ['sfPathProvider', function(s
133133
var items = args.fieldFrag.querySelector('[schema-form-array-items]');
134134
if (items) {
135135
state = angular.copy(args.state);
136-
state.keyRedaction = state.keyRedaction || 0;
136+
state.keyRedaction = 0;
137137
state.keyRedaction += args.form.key.length + 1;
138138

139139
// Special case, an array with just one item in it that is not an object.

0 commit comments

Comments
 (0)