mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-18 11:10:56 +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()}]`;
|
||||
});
|
||||
|
||||
replaced = element.attr(prop).replace(/\.(\d+|\*)\./g, (/* str, p1, offset */) => {
|
||||
replaced = replaced.replace(/\.(\d+|\*)\./g, (/* str, p1, offset */) => {
|
||||
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