Skip to content
Snippets Groups Projects
Unverified Commit 3a9fa67d authored by csuadev's avatar csuadev Committed by GitHub
Browse files

regression: move conversation closing tags field after the toggle that enables it (#32340)

parent 4cb57922
No related branches found
No related tags found
No related merge requests found
......@@ -434,15 +434,6 @@ function EditDepartment({ data, id, title, allowedToForwardData }: EditDepartmen
<ToggleSwitch id={requestTagBeforeClosingChatField} {...register('requestTagBeforeClosingChat')} />
</FieldRow>
</Field>
<Field>
<FieldRow>
<FieldLabel htmlFor={allowReceiveForwardOffline}>{t('Accept_receive_inquiry_no_online_agents')}</FieldLabel>
<ToggleSwitch id={allowReceiveForwardOffline} {...register('allowReceiveForwardOffline')} />
</FieldRow>
<FieldRow>
<FieldHint id={`${allowReceiveForwardOffline}-hint`}>{t('Accept_receive_inquiry_no_online_agents_Hint')}</FieldHint>
</FieldRow>
</Field>
{requestTagBeforeClosingChat && (
<Field>
<FieldLabel htmlFor={chatClosingTagsField} required>
......@@ -470,6 +461,15 @@ function EditDepartment({ data, id, title, allowedToForwardData }: EditDepartmen
)}
</Field>
)}
<Field>
<FieldRow>
<FieldLabel htmlFor={allowReceiveForwardOffline}>{t('Accept_receive_inquiry_no_online_agents')}</FieldLabel>
<ToggleSwitch id={allowReceiveForwardOffline} {...register('allowReceiveForwardOffline')} />
</FieldRow>
<FieldRow>
<FieldHint id={`${allowReceiveForwardOffline}-hint`}>{t('Accept_receive_inquiry_no_online_agents_Hint')}</FieldHint>
</FieldRow>
</Field>
<Field>
<DepartmentBusinessHours bhId={department?.businessHourId} />
</Field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment