mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
Fixes bug where toolbar was hidden on user token list
This commit is contained in:
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`,
|
||||
});
|
||||
}, []);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user