mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-2621] Shared link - when dialog is closed focus is not returned to trigger (#1255)
* use custom component action * adjust component. to render icon and menu action * pass action data * update selection after dialog closes * update mocks
This commit is contained in:
committed by
Adina Parpalita
parent
236d80106d
commit
f526db9657
@@ -422,6 +422,9 @@
|
||||
"id": "app.toolbar.share",
|
||||
"type": "custom",
|
||||
"order": 600,
|
||||
"data": {
|
||||
"iconButton": true
|
||||
},
|
||||
"component": "app.shared-link.toggleSharedLink",
|
||||
"rules": {
|
||||
"visible": "app.selection.file.canShare"
|
||||
@@ -517,6 +520,9 @@
|
||||
"id": "item3",
|
||||
"type": "custom",
|
||||
"order": 400,
|
||||
"data": {
|
||||
"iconButton": false
|
||||
},
|
||||
"component": "app.shared-link.toggleSharedLink",
|
||||
"rules": {
|
||||
"visible": "app.selection.file.canShare"
|
||||
@@ -538,6 +544,9 @@
|
||||
"id": "item3",
|
||||
"type": "custom",
|
||||
"order": 400,
|
||||
"data": {
|
||||
"iconButton": false
|
||||
},
|
||||
"component": "app.shared-link.toggleSharedLink",
|
||||
"rules": {
|
||||
"visible": "app.selection.file.canShare"
|
||||
@@ -586,6 +595,9 @@
|
||||
"id": "app.context.menu.share",
|
||||
"type": "custom",
|
||||
"order": 400,
|
||||
"data": {
|
||||
"iconButton": false
|
||||
},
|
||||
"component": "app.shared-link.toggleSharedLink",
|
||||
"rules": {
|
||||
"visible": "app.selection.file.canShare"
|
||||
@@ -805,6 +817,9 @@
|
||||
"id": "app.viewer.share",
|
||||
"type": "custom",
|
||||
"order": 300,
|
||||
"data": {
|
||||
"iconButton": true
|
||||
},
|
||||
"component": "app.shared-link.toggleSharedLink",
|
||||
"rules": {
|
||||
"visible": "app.selection.file.canShare"
|
||||
|
Reference in New Issue
Block a user