mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-12-15 04:50:29 +01:00
Typo in collection preventing naming to be properly reindexed
This commit is contained in:
@@ -77,7 +77,7 @@ export default class CollectionsField {
|
|||||||
return `[${indexes.shift()}]`;
|
return `[${indexes.shift()}]`;
|
||||||
});
|
});
|
||||||
|
|
||||||
replaced = element.attr(prop).replace(/\.(\d+|\*)\./g, (/* str, p1, offset */) => {
|
replaced = replaced.replace(/\.(\d+|\*)\./g, (/* str, p1, offset */) => {
|
||||||
return `.${indexes.shift()}.`;
|
return `.${indexes.shift()}.`;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
2
themes/grav/js/admin.min.js
vendored
2
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user