Fix redirect after login

Redirect to /user-admin instead of /user-admin/list, so that the menu entry
in the drawer is selected.

Change-Id: I8cb16efe8d0a6f7b0a77b98322a5ddb81632a294
This commit is contained in:
Manuel Stahl 2019-08-19 14:29:52 +02:00
parent 2d2bf0db53
commit 82a482ae32

View File

@ -50,7 +50,7 @@ export class Login extends Component {
return ( return (
<div className="home-login"> <div className="home-login">
{mtx && mtx.clientRunning && mtx.credentials.userId && !loginPending && {mtx && mtx.clientRunning && mtx.credentials.userId && !loginPending &&
<Redirect to="/user-admin/list" /> <Redirect to="/user-admin" />
} }
<header className="app-header"> <header className="app-header">
<img src={matrixLogo} className="app-logo" alt="logo" /> <img src={matrixLogo} className="app-logo" alt="logo" />