mirror of
https://github.com/Microsoft/vscode
synced 2024-08-25 03:56:03 +00:00
remove restore on profile item (#209416)
This commit is contained in:
parent
a27099233b
commit
62b5a4ce27
|
@ -272,7 +272,7 @@ export class UserDataSyncDataViews extends Disposable {
|
|||
icon: Codicon.discard,
|
||||
menu: {
|
||||
id: MenuId.ViewItemContext,
|
||||
when: ContextKeyExpr.and(ContextKeyExpr.equals('view', viewId), ContextKeyExpr.regex('viewItem', /sync-resource-.*/i)),
|
||||
when: ContextKeyExpr.and(ContextKeyExpr.equals('view', viewId), ContextKeyExpr.regex('viewItem', /sync-resource-.*/i), ContextKeyExpr.notEquals('viewItem', `sync-resource-${SyncResource.Profiles}`)),
|
||||
group: 'inline',
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue