diff --git a/packages/builder/src/components/common/SearchBox.svelte b/packages/builder/src/components/common/SearchBox.svelte
index f64b2336e7..3131f06ea6 100644
--- a/packages/builder/src/components/common/SearchBox.svelte
+++ b/packages/builder/src/components/common/SearchBox.svelte
@@ -25,6 +25,14 @@
closeSearch()
}
}
+
+ const handleAddButton = () => {
+ if (search) {
+ closeSearch()
+ } else {
+ alert("todo")
+ }
+ }