diff options
author | Sam Wilkins <35748010+samwilkins333@users.noreply.github.com> | 2019-07-09 20:00:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-09 20:00:38 -0400 |
commit | 2cd8ac79b4731ca98aafe8a92fa6fb132fe9e86f (patch) | |
tree | 39349478d57d993773f01a0dfb426214f4ec8d4e /src/client/views/MainView.tsx | |
parent | 04f8fd3c15331ca67d58b7ef06a51c7153b953d9 (diff) | |
parent | dc807afc7b2b0bbeb22378b4e1603eaec688615e (diff) |
Merge pull request #197 from browngraphicslab/import
logging in now directs you to original target url and restored logout…
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index b8fc3f47b..b37ba1cb0 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -413,7 +413,7 @@ export class MainView extends React.Component { return [ this.isSearchVisible ? <div className="main-searchDiv" key="search" style={{ top: '34px', right: '1px', position: 'absolute' }} > <FilterBox /> </div> : null, <div className="main-buttonDiv" key="logout" style={{ bottom: '0px', right: '1px', position: 'absolute' }} ref={logoutRef}> - <button onClick={() => request.get(DocServer.prepend(RouteStore.logout), emptyFunction)}>Log Out</button></div> + <button onClick={() => window.location.assign(DocServer.prepend(RouteStore.logout))}>Log Out</button></div> ]; } |