Przeglądaj źródła

fix iAmSmart address concat bug

master
Anna Ho 1 rok temu
rodzic
commit
3e80ee814f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/pages/authentication/auth-forms/IAmSmartFormWizard.js

+ 1
- 1
src/pages/authentication/auth-forms/IAmSmartFormWizard.js Wyświetl plik

@@ -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) == ",") {


Ładowanie…
Anuluj
Zapisz