Skip to content

Commit

Permalink
Update field-editor.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Elayaraman committed Apr 4, 2024
1 parent be4a175 commit beef545
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@ import {
deriveInternalNameFromLabel,
getChildChoices,
getDependentLevels,
getFieldBasedOnLevel,
getMaxLimitProperty,
getMaximumLimitsConfig,
getModifiedEl,
getNestedKeyValueFromObject,
hasCustomProperty,
hasPermission,
hasStringDuplicates,
i18nText,
removeFirstOccurrence,
removeIsNewFromField,
updateChoicesInFields,
updateFieldAttributes,
updateLevelSelection,
updateRequiredOnAllFields,
validateLevels,
getFieldBasedOnLevel,
getModifiedEl,
removeIsNewFromField,
} from '../utils/form-builder-utils';

@Component({
Expand Down Expand Up @@ -1364,14 +1364,16 @@ export class FieldEditor {
></fw-input>
</div>
</span>
{dataItem?.choice_options?.resolution_timer !== undefined &&
{isSlaEnabled &&
dataItem?.choice_options?.resolution_timer !== undefined &&
renderToggle(
dataItem.id,
'resolution_timer',
dataItem.choice_options.resolution_timer
)}
{dataItem?.choice_options?.pause_resolution_sla_timer !==
undefined &&
{isSlaEnabled &&
dataItem?.choice_options?.pause_resolution_sla_timer !==
undefined &&
renderToggle(
dataItem.id,
'pause_resolution_sla_timer',
Expand Down

0 comments on commit beef545

Please sign in to comment.