diff --git a/datagouv-components/src/components/Search/GlobalSearch.vue b/datagouv-components/src/components/Search/GlobalSearch.vue
index fbdbbd9a1..6f645ff36 100644
--- a/datagouv-components/src/components/Search/GlobalSearch.vue
+++ b/datagouv-components/src/components/Search/GlobalSearch.vue
@@ -11,7 +11,7 @@
>
@@ -30,13 +30,13 @@
>
- {{ typeConfig.name || typesMeta[typeConfig.class].name }}
+ {{ typeConfig.name || strategies[typeConfig.class].name }}
@@ -127,7 +127,7 @@
v-model="producerType"
:facets="getFacets('producer_type')"
:loading="searchResultsStatus === 'pending'"
- :exclude="currentType === 'organizations' ? ['user'] : []"
+ :exclude="currentTypeConfig?.class === 'organizations' ? ['user'] : []"
:style="{ order: getOrder('producer_type') }"
/>
@@ -239,7 +239,7 @@
:key="result.id"
class="p-0"
>
-
+
-
+
-
+
-
+
-
+