From 45fd758c1d12767c2a9191cefa0a1eb315615fba Mon Sep 17 00:00:00 2001 From: muerwre Date: Fri, 7 Dec 2018 13:09:58 +0700 Subject: [PATCH] panels: fixed map list and user menu --- src/components/panels/UserPanel.jsx | 13 +++++++++---- src/components/user/UserMenu.jsx | 11 ++++++++++- src/styles/user-button.less | 18 ++++++++++++++++++ 3 files changed, 37 insertions(+), 5 deletions(-) diff --git a/src/components/panels/UserPanel.jsx b/src/components/panels/UserPanel.jsx index 6b449a7..0286069 100644 --- a/src/components/panels/UserPanel.jsx +++ b/src/components/panels/UserPanel.jsx @@ -16,8 +16,10 @@ import { DIALOGS } from '$constants/dialogs'; type Props = { user: UserType, + dialog_active: Boolean, + dialog: String, + userLogout: Function, - setUser: Function, setDialog: Function, gotVkUser: Function, }; @@ -75,7 +77,7 @@ export class Component extends React.PureComponent { render() { const { - props: { user }, + props: { user, dialog, dialog_active }, state: { menuOpened }, } = this; @@ -100,7 +102,10 @@ export class Component extends React.PureComponent {