Skip to content

Commit

Permalink
fix: enable Show History when chat provider exists (#196331)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceerhl authored Oct 23, 2023
1 parent 2346f95 commit 8aab366
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vs/workbench/contrib/chat/browser/actions/chatActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ const getHistoryChatActionDescriptorForViewTitle = (viewId: string, providerId:
},
category: CHAT_CATEGORY,
icon: Codicon.history,
f1: false
f1: false,
precondition: CONTEXT_PROVIDER_EXISTS
});

export function getHistoryAction(viewId: string, providerId: string) {
Expand Down

0 comments on commit 8aab366

Please sign in to comment.