mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 14:05:59 -03:30
Fix loading bug in User view
This commit is contained in:
@@ -146,17 +146,16 @@ class User extends Component {
|
|||||||
<UserTokens id={Number(match.params.id)} />
|
<UserTokens id={Number(match.params.id)} />
|
||||||
</Route>
|
</Route>
|
||||||
<Route key="not-found" path="*">
|
<Route key="not-found" path="*">
|
||||||
!hasContentLoading && (
|
{!hasContentLoading && (
|
||||||
<ContentError isNotFound>
|
<ContentError isNotFound>
|
||||||
{match.params.id && (
|
{match.params.id && (
|
||||||
<Link to={`/users/${match.params.id}/details`}>
|
<Link to={`/users/${match.params.id}/details`}>
|
||||||
{i18n._(`View User Details`)}
|
{i18n._(`View User Details`)}
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
</ContentError>
|
</ContentError>
|
||||||
)
|
)}
|
||||||
</Route>
|
</Route>
|
||||||
,
|
|
||||||
</Switch>
|
</Switch>
|
||||||
</Card>
|
</Card>
|
||||||
</PageSection>
|
</PageSection>
|
||||||
|
|||||||
Reference in New Issue
Block a user