mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-21 06:52:11 +01:00
change showing error if me is not defined
This commit is contained in:
@@ -29,7 +29,7 @@ class Profile extends React.Component<Props, State> {
|
||||
render() {
|
||||
const { me, t } = this.props;
|
||||
|
||||
if (me) {
|
||||
if (!me) {
|
||||
return (
|
||||
<ErrorPage
|
||||
title={t("profile.error-title")}
|
||||
|
||||
Reference in New Issue
Block a user