mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
cleanup
This commit is contained in:
@@ -61,12 +61,12 @@ class Main extends React.Component<Props> {
|
||||
if (authenticated) {
|
||||
url = "/repos/";
|
||||
}
|
||||
if (!me) {
|
||||
url = "/login";
|
||||
}
|
||||
if (redirectUrlFactory) {
|
||||
url = redirectUrlFactory(this.props);
|
||||
}
|
||||
if (!me) {
|
||||
url = "/login";
|
||||
}
|
||||
return (
|
||||
<div className="main">
|
||||
<Switch>
|
||||
@@ -95,6 +95,7 @@ class Main extends React.Component<Props> {
|
||||
renderAll={true}
|
||||
props={{
|
||||
authenticated,
|
||||
me,
|
||||
links
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user