Skip to content
Snippets Groups Projects
Commit 89c50399 authored by Daniel Bayley's avatar Daniel Bayley
Browse files

Improve context menu item


Limit the context menu item to only the root project in tree view.

Signed-off-by: default avatarDaniel Bayley <daniel.bayley@me.com>
parent 4c6ed92e
No related branches found
No related tags found
No related merge requests found
menu: [
label: "Packages"
submenu: [
label: 'Open Project in GitKraken' #GitKraken
label: "Open Project in GitKraken"
#submenu: [
#label: 'Open Project' #Release
command: 'gitkraken:release'
] ] #]
'context-menu':
'.platform-darwin .tree-view': [
label: 'Open Project in GitKraken'
command: 'gitkraken:release'
]
'[class^="status-bar"] .git-branch': [ #[class^="git-"]
label: 'Open Project in GitKraken'
'.tree-view .header[title],
[class^="status-bar"] .git-branch': [ #.platform-darwin
label: "Open Project in GitKraken"
command: 'gitkraken:release'
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment