From 23a8f1367a4421ea8a8cbeb6c341705488ebc864 Mon Sep 17 00:00:00 2001
From: Sam Wilkins <samwilkins333@gmail.com>
Date: Wed, 27 Feb 2019 11:44:58 -0500
Subject: extracted id from on click

---
 src/server/authentication/controllers/WorkspacesMenu.tsx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'src/server/authentication/controllers/WorkspacesMenu.tsx')

diff --git a/src/server/authentication/controllers/WorkspacesMenu.tsx b/src/server/authentication/controllers/WorkspacesMenu.tsx
index 23a3d35da..a440ab779 100644
--- a/src/server/authentication/controllers/WorkspacesMenu.tsx
+++ b/src/server/authentication/controllers/WorkspacesMenu.tsx
@@ -39,7 +39,7 @@ export class WorkspacesMenu extends React.Component {
     }
 
     setWorkspaceId = (e: React.MouseEvent) => {
-
+        console.log(e.currentTarget.innerHTML);
     }
 
     render() {
@@ -51,13 +51,12 @@ export class WorkspacesMenu extends React.Component {
                     borderRadius: 5,
                     position: "absolute",
                     top: 50,
-                    left: 8,
+                    left: this.workspacesExposed ? 8 : -500,
                     background: "white",
                     border: "black solid 2px",
-                    transition: "all 0.3s ease",
+                    transition: "all 1s ease",
                     zIndex: 15,
                     padding: 10,
-                    visibility: this.workspacesExposed ? "visible" : "hidden"
                 }}
             >
                 {this.workspaceIds.map(s =>
-- 
cgit v1.2.3-70-g09d2

