Skip to content

Commit 15d4b72

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Remove isCanary from VariantAnalysisActions.tsx
1 parent 362a438 commit 15d4b72

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

extensions/ql-vscode/src/view/variant-analysis/VariantAnalysisActions.tsx

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { styled } from "styled-components";
22
import { VariantAnalysisStatus } from "../../variant-analysis/shared/variant-analysis";
33
import { VscodeButton } from "@vscode-elements/react-elements";
4-
import { isCanary } from "../../config";
54

65
export type VariantAnalysisActionsProps = {
76
variantAnalysisStatus: VariantAnalysisStatus;
@@ -71,21 +70,19 @@ export const VariantAnalysisActions = ({
7170
<Container>
7271
{showResultActions && (
7372
<>
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>
8986
<Button
9087
secondary
9188
onClick={onCopyRepositoryListClick}

0 commit comments

Comments
 (0)