Skip to content

Commit

Permalink
DEVPROD-5277: Unhide jump to failing line toggle on production (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
minnakt authored Apr 16, 2024
1 parent 5eceb43 commit a2b920f
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Tab, Tabs } from "@leafygreen-ui/tabs";
import { H3 } from "@leafygreen-ui/typography";
import { size } from "constants/tokens";
import { useParsleySettings } from "hooks/useParsleySettings";
import { isProduction } from "utils/environmentVariables";
import ButtonRow from "./ButtonRow";
import CLIInstructions from "./CLIInstructions";
import SearchRangeInput from "./SearchRangeInput";
Expand Down Expand Up @@ -57,12 +56,10 @@ const DetailsMenuCard = forwardRef<HTMLDivElement, DetailsMenuProps>(
<PrettyPrintToggle />
<ExpandableRowsToggle />
<ZebraStripingToggle />
{!isProduction() && (
<JumpToFailingLineToggle
checked={jumpToFailingLineEnabled}
updateSettings={updateSettings}
/>
)}
<JumpToFailingLineToggle
checked={jumpToFailingLineEnabled}
updateSettings={updateSettings}
/>
</Column>
</Row>
</Tab>
Expand Down

0 comments on commit a2b920f

Please sign in to comment.