From eb3e3d26a9654c65df3554c0ed3139fba1663351 Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Sun, 26 Mar 2023 02:03:50 -0300 Subject: [PATCH] fix: Only clear desiredRoom if the room is found (#5398) --- client/agenda/FloorPlan.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/agenda/FloorPlan.vue b/client/agenda/FloorPlan.vue index 41d3f13ff..3b242eca3 100644 --- a/client/agenda/FloorPlan.vue +++ b/client/agenda/FloorPlan.vue @@ -187,10 +187,10 @@ function handleDesiredRoom () { if (rm) { state.currentFloor = fl.id state.currentRoom = rm.id + state.desiredRoom = null break } } - state.desiredRoom = null } }