Replace .map() with .forEach() where return value is unused
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -132,7 +132,7 @@ export default {
|
||||
inputTimeFields: {
|
||||
get() {
|
||||
let paddedTimeFields = [];
|
||||
this.inputTypes.map(inputTypeUnit => {
|
||||
this.inputTypes.forEach(inputTypeUnit => {
|
||||
// Pad the dd/hh/mm/ss field string to 2 digits and add it to the list
|
||||
paddedTimeFields.push(this.tUnits[inputTypeUnit].val.toString().padStart(2, '0'));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user