lunes-cms
lunes-cms copied to clipboard
Refactor "toggle_plural_field.js"
Short description
While implementing another issue, I noticed that the file name "toggle_plural_field" does not describe the functions in it anymore well and the function showDuplicates
can be refectored.
Proposed changes
- Refactor
showDuplicates
by creating a helper function and removing duplicates - Change the filde name
Resolved issues
Fixes: #