Skip to content

Commit

Permalink
[ACA-2120] update library toolbar (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika authored Jan 4, 2019
1 parent 7992b0a commit a1789e4
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src/assets/app.extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit a1789e4

Please sign in to comment.