From d6662b2fb7dd3ca85303514e3e25d381a4e655ff Mon Sep 17 00:00:00 2001 From: "coderabbitai[bot]" <136622811+coderabbitai[bot]@users.noreply.github.com> Date: Tue, 28 Apr 2026 14:39:55 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20CodeRabbit=20Chat:=20Implement?= =?UTF-8?q?=20requested=20code=20changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ProjectGroupPicker.vue | 7 +++++-- pages/workspace/create/tdei.vue | 3 ++- services/tdei.ts | 8 ++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/components/ProjectGroupPicker.vue b/components/ProjectGroupPicker.vue index 6196b13..e454cbb 100644 --- a/components/ProjectGroupPicker.vue +++ b/components/ProjectGroupPicker.vue @@ -92,7 +92,7 @@ const loadGroups = async (reset = false) => { } let timeoutId: ReturnType -watch(searchText, (newVal, oldVal) => { +watch(searchText, (newVal) => { if (!isOpen.value) return clearTimeout(timeoutId) @@ -127,8 +127,11 @@ const selectGroup = (id: string) => { } const onFocus = (e: Event) => { + const wasOpen = isOpen.value isOpen.value = true - loadGroups(true) + if (!wasOpen) { + loadGroups(true) + } const target = e.target as HTMLInputElement if (target) { target.select() diff --git a/pages/workspace/create/tdei.vue b/pages/workspace/create/tdei.vue index 471dfba..4e9c7af 100644 --- a/pages/workspace/create/tdei.vue +++ b/pages/workspace/create/tdei.vue @@ -147,11 +147,12 @@