Skip to content

Commit

Permalink
Do not show search bar if no results (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaudDauce authored Dec 18, 2024
1 parent d051d17 commit dd7f8d7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions components/Dataservices/AdminDataservicesPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@
<h1 class="fr-h3 fr-mb-5v">
{{ t("Dataservices") }}
</h1>
<div class="fr-grid-row fr-grid-row--gutters fr-grid-row--middle">
<div v-if="pageData && pageData.total" class="fr-grid-row fr-grid-row--gutters fr-grid-row--middle">
<div class="fr-col">
<h2
v-if="pageData && pageData.total"
class="subtitle subtitle--uppercase fr-m-0"
>
<h2 class="subtitle subtitle--uppercase fr-m-0">
{{ t('{n} dataservices', pageData.total) }}
</h2>
</div>
Expand Down

0 comments on commit dd7f8d7

Please sign in to comment.