Web: Client: data import: fixed addEmail step
This commit is contained in:
parent
29c5c47c41
commit
ffb0368cdc
@ -37,7 +37,7 @@ const RowView = (props) => {
|
||||
const [openedEmailKey, setOpenedEmailKey] = useState(null);
|
||||
|
||||
const usersWithFilledEmails = users.withoutEmail.filter(
|
||||
(user) => user.email.length > 0,
|
||||
(user) => user.email && user.email.length > 0,
|
||||
);
|
||||
|
||||
const toggleAll = (isChecked) =>
|
||||
|
@ -29,7 +29,7 @@ const TableView = (props) => {
|
||||
const tableRef = useRef(null);
|
||||
|
||||
const usersWithFilledEmails = users.withoutEmail.filter(
|
||||
(user) => user.email.length > 0,
|
||||
(user) => user.email && user.email.length > 0,
|
||||
);
|
||||
|
||||
const toggleAll = (e) =>
|
||||
@ -77,7 +77,7 @@ const TableView = (props) => {
|
||||
t={t}
|
||||
key={data.key}
|
||||
id={data.key}
|
||||
email={data.email}
|
||||
email={data.email || ""}
|
||||
displayName={data.displayName}
|
||||
hideColumns={hideColumns}
|
||||
isChecked={isAccountChecked(data.key, checkedAccountType)}
|
||||
|
Loading…
Reference in New Issue
Block a user