Skip to content

Commit

Permalink
Merge branch 'dev' into plan-trip-on-behalf-of
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-willis-arcadis authored Dec 10, 2024
2 parents bb77913 + 7fbe6d6 commit f5f8ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/form/call-taker/advanced-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class AdvancedOptions extends Component {
}}
>
{/* Show the first mode setting */}
{applicableModeSettings.length >= 1 && (
{applicableModeSettings?.length >= 1 && (
<ModeSettingRenderer
onChange={this._setCustomModeSetting}
setting={applicableModeSettings[0]}
Expand Down Expand Up @@ -264,7 +264,7 @@ class AdvancedOptions extends Component {
</Suspense>
<div style={{ paddingTop: '8px' }}>
{/* Show the remaining items after the first */}
{applicableModeSettings.length > 1 &&
{applicableModeSettings?.length > 1 &&
applicableModeSettings
.slice(1)
.map((ms) => (
Expand Down

0 comments on commit f5f8ebd

Please sign in to comment.