fixed wrong selector of displayName

This commit is contained in:
Sebastian Sdorra
2018-07-24 15:43:39 +02:00
parent b5ff57acc4
commit d4eadc21df

View File

@@ -70,7 +70,7 @@ const mapStateToProps = state => {
mapped.authenticated = state.auth.login.authenticated; mapped.authenticated = state.auth.login.authenticated;
} }
if (state.auth.me && state.auth.me.entry) { if (state.auth.me && state.auth.me.entry) {
displayName = state.auth.me.entry.entity.displayName; displayName = state.auth.me.entry.displayName;
} }
return { return {
...mapped, ...mapped,