third try to fix this little bug
This commit is contained in:
parent
559ad230ce
commit
a647d80efa
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class MapCard extends Component {
|
|||
render = () => {
|
||||
const { map, mobile, juntoState, currentUser, onRequest, onStar } = this.props
|
||||
|
||||
const hasMap = juntoState.liveMaps[map.id] && values(juntoState.liveMaps[map.id]).length
|
||||
const hasMap = (juntoState.liveMaps[map.id] && values(juntoState.liveMaps[map.id]).length) || null
|
||||
const realtimeMap = juntoState.liveMaps[map.id]
|
||||
const hasConversation = hasMap && find(values(realtimeMap), v => v === IN_CONVERSATION)
|
||||
const hasMapper = hasMap && !hasConversation
|
||||
|
|
Loading…
Reference in a new issue