Web: Client: data import: fixed addEmail step

This commit is contained in:
Vladimir Khvan 2024-02-20 14:00:35 +05:00
parent 29c5c47c41
commit ffb0368cdc
2 changed files with 3 additions and 3 deletions

View File

@ -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) =>

View File

@ -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)}