[ACA-2120] update library toolbar (#891)

This commit is contained in:
Denys Vuika 2019-01-04 18:47:19 +00:00 committed by GitHub
parent 7992b0a015
commit a1789e45aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -452,6 +452,27 @@
"visible": "app.trashcan.hasSelection"
}
},
{
"id": "app.toolbar.joinLibrary",
"type": "custom",
"order": 600,
"component": "app.toolbar.toggleJoinLibrary",
"rules": {
"visible": "app.libraries.toolbar.canToggleJoin"
}
},
{
"id": "app.toolbar.leaveLibrary",
"order": 650,
"title": "APP.ACTIONS.LEAVE",
"icon": "exit_to_app",
"actions": {
"click": "LEAVE_LIBRARY"
},
"rules": {
"visible": "app.libraries.toolbar.canLeaveLibrary"
}
},
{
"id": "app.create.separator.2",
"type": "separator",
@ -469,33 +490,12 @@
{
"id": "app.libraries.toolbar.infoDrawer",
"type": "custom",
"order": 701,
"order": 800,
"component": "app.toolbar.toggleInfoDrawer",
"rules": {
"visible": "app.libraries.toolbar"
}
},
{
"id": "app.toolbar.joinLibrary",
"type": "custom",
"order": 704,
"component": "app.toolbar.toggleJoinLibrary",
"rules": {
"visible": "app.libraries.toolbar.canToggleJoin"
}
},
{
"id": "app.toolbar.leaveLibrary",
"order": 705,
"title": "APP.ACTIONS.LEAVE",
"icon": "not_interested",
"actions": {
"click": "LEAVE_LIBRARY"
},
"rules": {
"visible": "app.libraries.toolbar.canLeaveLibrary"
}
},
{
"id": "app.toolbar.more",
"type": "menu",