Skip to content

Commit

Permalink
fix: disable more actions without chat provider (microsoft#196631)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceerhl committed Oct 25, 2023
1 parent 9978889 commit 799d083
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export function registerClearActions() {
},
icon: Codicon.clearAll,
f1: false,
precondition: CONTEXT_PROVIDER_EXISTS,
menu: [{
id: MenuId.EditorTitle,
group: 'navigation',
Expand Down Expand Up @@ -99,6 +100,7 @@ const getClearChatActionDescriptorForViewTitle = (viewId: string, providerId: st
group: 'navigation',
order: 0
},
precondition: CONTEXT_PROVIDER_EXISTS,
category: CHAT_CATEGORY,
icon: Codicon.clearAll,
f1: false
Expand Down

0 comments on commit 799d083

Please sign in to comment.