diff --git a/front/src/ui/modals/Search.vue b/front/src/ui/modals/Search.vue index 00b715939..bc317a02d 100644 --- a/front/src/ui/modals/Search.vue +++ b/front/src/ui/modals/Search.vue @@ -32,6 +32,13 @@ const isLoading = ref(false) const results = ref(null) const search = async () => { + + // If query has the shape of a federated object, search the federation + + + // Else, use the user database endpoint to search + + if (queryDebounced.value.length < 1) { isOpen.value = false return @@ -169,33 +176,39 @@ const toggle = (id: QueryType): void => { autofocus icon="bi-search" /> - - - - - -
+ +