- added add company page;
- connected api for delega download, upload and deleting;
This commit is contained in:
@@ -54,12 +54,19 @@ const TopBarProfileMenu = ({ menuLeftRef }) => {
|
||||
command: () => {
|
||||
navigate('/profilo-aziendale')
|
||||
},
|
||||
enable: !intersection(permissions, ['MANAGE_TENDERS']).length
|
||||
enable: !intersection(permissions, ['MANAGE_TENDERS']).length && companies.length > 0
|
||||
},
|
||||
{
|
||||
label: __('Seleziona azienda', 'gepafin'),
|
||||
items: companyItems,
|
||||
enable: true
|
||||
enable: companies.length
|
||||
},
|
||||
{
|
||||
label: __('Aggiungi Azienda', 'gepafin'),
|
||||
command: () => {
|
||||
navigate('/agguingi-azienda')
|
||||
},
|
||||
enable: !intersection(permissions, ['MANAGE_TENDERS']).length
|
||||
},
|
||||
{
|
||||
separator: true,
|
||||
|
||||
Reference in New Issue
Block a user