Skip to content

Commit

Permalink
refactor(api,app): remove internal_only flag from enableOEMMode setti…
Browse files Browse the repository at this point in the history
…ng (#14920)

enableOEMMode isn't really an internal_only setting, and we need it
included in the robot settings api response. change needed for the ODD
text to anonymize and the factory mode toggle to work. originally part
of oem-mode-integration branch.
  • Loading branch information
brenthagen authored and Carlos-fernandez committed May 20, 2024
1 parent 8d75827 commit 231cde1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions api/src/opentrons/config/advanced_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@ class Setting(NamedTuple):
title="Enable OEM Mode",
description="This setting anonymizes Opentrons branding in the ODD app.",
robot_type=[RobotTypeEnum.FLEX],
show_if=(
"enableOEMMode",
True,
),
internal_only=True,
),
SettingDefinition(
_id="enablePerformanceMetrics",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ interface RobotSettingsFeatureFlagsProps {

const NON_FEATURE_FLAG_SETTINGS = [
'enableDoorSafetySwitch',
'enableOEMMode',
'disableHomeOnBoot',
'deckCalibrationDots',
'shortFixedTrash',
Expand Down

0 comments on commit 231cde1

Please sign in to comment.