mirror of
https://github.com/wassname/talk.git
synced 2026-07-23 13:10:20 +08:00
Fix excludeIf condition
This commit is contained in:
@@ -40,7 +40,8 @@ export default compose(
|
||||
withData,
|
||||
excludeIf(
|
||||
({ root: { me }, inProgress }) =>
|
||||
!me ||
|
||||
me.state.status.username.status === 'UNSET' ||
|
||||
!((me && !me.email) || (me && me.email && inProgress))
|
||||
(me.email && !inProgress)
|
||||
)
|
||||
)(AddEmailAddressDialog);
|
||||
|
||||
Reference in New Issue
Block a user