Skip to content

Commit 53f15a3

Browse files
committed
fix: set user availability status to online instead of offline when admin selects "active" in the user availability dropdown
1 parent a397d3d commit 53f15a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/features/admin/agents/AgentForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ const form = useForm({
267267
268268
const onSubmit = form.handleSubmit((values) => {
269269
if (values.availability_status === 'active_group') {
270-
values.availability_status = 'offline'
270+
values.availability_status = 'online'
271271
}
272272
values.teams = values.teams.map((team) => ({ name: team }))
273273
props.submitForm(values)

0 commit comments

Comments
 (0)