feat: consolidar desenvolvimentos do portal InvestMoz
This commit is contained in:
@@ -22,6 +22,19 @@ export function profileLinks(access: ProfileAccess | null | undefined) {
|
||||
...(access.audit
|
||||
? [{ title: 'Auditoria de acessos', href: access.audit }]
|
||||
: []),
|
||||
...(access.technicalSupport
|
||||
? [
|
||||
{
|
||||
title:
|
||||
typeof access.technicalSupportUnread === 'number' &&
|
||||
Number.isSafeInteger(access.technicalSupportUnread) &&
|
||||
access.technicalSupportUnread > 0
|
||||
? `Suporte técnico · ${access.technicalSupportUnread} por consultar`
|
||||
: 'Suporte técnico',
|
||||
href: access.technicalSupport,
|
||||
},
|
||||
]
|
||||
: []),
|
||||
...(access.administration
|
||||
? [{ title: 'Gestão de perfis', href: access.administration }]
|
||||
: []),
|
||||
|
||||
Reference in New Issue
Block a user