|
1 | 1 | import { styled } from "styled-components"; |
2 | 2 | import { VariantAnalysisStatus } from "../../variant-analysis/shared/variant-analysis"; |
3 | 3 | import { VscodeButton } from "@vscode-elements/react-elements"; |
4 | | -import { isCanary } from "../../config"; |
5 | 4 |
|
6 | 5 | export type VariantAnalysisActionsProps = { |
7 | 6 | variantAnalysisStatus: VariantAnalysisStatus; |
@@ -71,21 +70,19 @@ export const VariantAnalysisActions = ({ |
71 | 70 | <Container> |
72 | 71 | {showResultActions && ( |
73 | 72 | <> |
74 | | - {isCanary() && ( |
75 | | - <Button |
76 | | - secondary |
77 | | - onClick={onViewAutofixesClick} |
78 | | - disabled={viewAutofixesDisabled} |
79 | | - > |
80 | | - {chooseText({ |
81 | | - hasSelectedRepositories, |
82 | | - hasFilteredRepositories, |
83 | | - normalText: "View Autofixes", |
84 | | - selectedText: "View Autofixes for selected results", |
85 | | - filteredText: "View Autofixes for filtered results", |
86 | | - })} |
87 | | - </Button> |
88 | | - )} |
| 73 | + <Button |
| 74 | + secondary |
| 75 | + onClick={onViewAutofixesClick} |
| 76 | + disabled={viewAutofixesDisabled} |
| 77 | + > |
| 78 | + {chooseText({ |
| 79 | + hasSelectedRepositories, |
| 80 | + hasFilteredRepositories, |
| 81 | + normalText: "View Autofixes", |
| 82 | + selectedText: "View Autofixes for selected results", |
| 83 | + filteredText: "View Autofixes for filtered results", |
| 84 | + })} |
| 85 | + </Button> |
89 | 86 | <Button |
90 | 87 | secondary |
91 | 88 | onClick={onCopyRepositoryListClick} |
|
0 commit comments