fix: clear the integrations search when leaving a section (#28812)
This commit is contained in:
1 file changed
+4
@@ -260,6 +260,8 @@
|
|||||||
{closeOnOutsideClick}
|
{closeOnOutsideClick}
|
||||||
onOpenChange={(state) => {
|
onOpenChange={(state) => {
|
||||||
if (state === false) {
|
if (state === false) {
|
||||||
|
toolQuery = '';
|
||||||
|
skillQuery = '';
|
||||||
onClose();
|
onClose();
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
@@ -474,6 +476,7 @@
|
|||||||
<button
|
<button
|
||||||
class="flex w-full justify-between gap-2 items-center h-[1.6875rem] px-2 text-[0.8125rem] font-normal cursor-pointer rounded-xl hover:bg-gray-50/40 dark:hover:bg-gray-800/40"
|
class="flex w-full justify-between gap-2 items-center h-[1.6875rem] px-2 text-[0.8125rem] font-normal cursor-pointer rounded-xl hover:bg-gray-50/40 dark:hover:bg-gray-800/40"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
|
toolQuery = '';
|
||||||
tab = '';
|
tab = '';
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@@ -589,6 +592,7 @@
|
|||||||
<button
|
<button
|
||||||
class="flex w-full justify-between gap-2 items-center h-[1.6875rem] px-2 text-[0.8125rem] font-normal cursor-pointer rounded-xl hover:bg-gray-50/40 dark:hover:bg-gray-800/40"
|
class="flex w-full justify-between gap-2 items-center h-[1.6875rem] px-2 text-[0.8125rem] font-normal cursor-pointer rounded-xl hover:bg-gray-50/40 dark:hover:bg-gray-800/40"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
|
skillQuery = '';
|
||||||
tab = '';
|
tab = '';
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user