mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Fixes bug where toolbar was hidden on user token list
This commit is contained in:
committed by
Shane McDonald
parent
ea5bd45d03
commit
29d57ea403
@@ -80,7 +80,7 @@ function User({ setBreadcrumb, me }) {
|
||||
|
||||
let showCardHeader = true;
|
||||
if (
|
||||
['edit', 'add', 'tokens'].some(name => location.pathname.includes(name))
|
||||
['edit', 'add', 'tokens/'].some(name => location.pathname.includes(name))
|
||||
) {
|
||||
showCardHeader = false;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,6 @@ function Users() {
|
||||
[`/users/${user.id}/organizations`]: t`Organizations`,
|
||||
[`/users/${user.id}/tokens`]: t`Tokens`,
|
||||
[`/users/${user.id}/tokens/add`]: t`Create user token`,
|
||||
[`/users/${user.id}/tokens/${token && token.id}`]: t`Application Name`,
|
||||
[`/users/${user.id}/tokens/${token && token.id}/details`]: t`Details`,
|
||||
});
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user