Selaa lähdekoodia

fix iAmSmart address concat bug

master
Anna Ho 1 vuosi sitten
vanhempi
commit
3e80ee814f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/pages/authentication/auth-forms/IAmSmartFormWizard.js

+ 1
- 1
src/pages/authentication/auth-forms/IAmSmartFormWizard.js Näytä tiedosto

@@ -142,7 +142,7 @@ const CustomFormWizard = (props) => {
const getAddressStr = (strs) => {
let add = ""
strs.forEach(str => {
add += str ? str + ", " : "";
add += str.trim() ? str.trim() + ", " : "";
});
add = add.trim();
if (add.slice(- 1) == ",") {


Ladataan…
Peruuta
Tallenna