Grupo-AFAL/frontend-helpers

View on GitHub
javascript/src/controllers/autocomplete-address-controller.js

Summary

Maintainability
A
1 hr
Test Coverage
A
96%

Showing 1 of 1 total issue

Function fillInAddress has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

fillInAddress () {
const place = this.autocomplete.getPlace()
 
for (const component of place.address_components) {
const componentType = component.types[0]
Severity: Minor
Found in javascript/src/controllers/autocomplete-address-controller.js - About 1 hr to fix
    Category
    Status