Skip to content

Commit

Permalink
Don't show "Ask Buddy" for workflow invocations (#6799)
Browse files Browse the repository at this point in the history
  • Loading branch information
siggisim authored Jun 12, 2024
1 parent 7c41661 commit 4b66a63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/invocation/suggestion_button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default class SuggestionButton extends React.Component<SuggestionButtonPr
!capabilities.config.botSuggestionsEnabled ||
!this.props.user ||
!this.props.user?.selectedGroup?.botSuggestionsEnabled ||
!this.props.model.isBazelInvocation() ||
this.props.model.invocation.bazelExitCode == "SUCCESS"
) {
return <></>;
Expand Down

0 comments on commit 4b66a63

Please sign in to comment.