mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-3296] Header - support actions order (#1464)
* header action order property * apply sort for parents and children * update tests * use parent class to set style * render user component through configuration * header should allow disable actions rendering * update e2e header resource
This commit is contained in:
@@ -908,11 +908,12 @@
|
||||
"description": "Application settings",
|
||||
"icon": "settings",
|
||||
"disabled": true,
|
||||
"order": 10,
|
||||
"actions": {
|
||||
"click": "app.actions.settings"
|
||||
},
|
||||
"rules": {
|
||||
"visible": "app.toolbar.canViewFile"
|
||||
"visible": "app.navigation.isNotTrashcan"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -920,11 +921,12 @@
|
||||
"title": "New Button",
|
||||
"description": "new button description",
|
||||
"icon": "alarm_on",
|
||||
"order": 20,
|
||||
"actions": {
|
||||
"click": "app.actions.settings"
|
||||
},
|
||||
"rules": {
|
||||
"visible": "app.toolbar.canViewFile"
|
||||
"visible": "app.navigation.isNotTrashcan"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user