diff --git a/frontend/src/features/admin/teams/TeamForm.vue b/frontend/src/features/admin/teams/TeamForm.vue
index cffac17..8c5287d 100644
--- a/frontend/src/features/admin/teams/TeamForm.vue
+++ b/frontend/src/features/admin/teams/TeamForm.vue
@@ -57,9 +57,8 @@
- Maximum number of conversations that can be auto-assigned to an agent,
- conversations in "Resolved" or "Closed" states do not count toward this limit. Set to 0
- for unlimited.
+ Maximum number of conversations that can be auto-assigned to an agent, conversations in
+ "Resolved" or "Closed" states do not count toward this limit. Set to 0 for unlimited.
@@ -97,6 +96,7 @@
+ None
{{ bh.name }}
@@ -121,6 +121,7 @@
+ None {
}
const onSubmit = form.handleSubmit((values) => {
- props.submitForm(values)
+ props.submitForm({
+ ...values,
+ business_hours_id: values.business_hours_id ? Number(values.business_hours_id) : null,
+ sla_policy_id: values.sla_policy_id ? Number(values.sla_policy_id) : null
+ })
})
watch(