From 9c5004143f363155577a389ea492634a2ce10118 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Mon, 27 May 2019 02:14:51 +1000 Subject: [PATCH] Actually fixed logged in bug --- src/components/panels/common_links.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/panels/common_links.jsx b/src/components/panels/common_links.jsx index a3e873a..343b926 100644 --- a/src/components/panels/common_links.jsx +++ b/src/components/panels/common_links.jsx @@ -64,7 +64,7 @@ CommonLinks.propTypes = { function mapStoreToProps(store) { return { - loggedIn: this.store.id && store.account.id !== 0 + loggedIn: store.account.id !== undefined && store.account.id !== 0 } }