Typo in collection preventing naming to be properly reindexed

This commit is contained in:
Djamil Legato
2016-03-10 10:17:59 -08:00
parent 0ea3ae3987
commit ab6501ef8a
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ export default class CollectionsField {
return `[${indexes.shift()}]`;
});
replaced = element.attr(prop).replace(/\.(\d+|\*)\./g, (/* str, p1, offset */) => {
replaced = replaced.replace(/\.(\d+|\*)\./g, (/* str, p1, offset */) => {
return `.${indexes.shift()}.`;
});

File diff suppressed because one or more lines are too long