Skip to content

Commit

Permalink
fix: 🐛 add a hasExplore condition to allow display of dataStructure c…
Browse files Browse the repository at this point in the history
…omponent in ResourceAccordion (#389)
  • Loading branch information
Jorek57 committed Apr 12, 2024
1 parent 05ef1e1 commit 53d6cfd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Add markdown editor [#351](https://github.com/etalab/udata-front/pull/351)
- Upgrade vue dependency [#386](https://github.com/etalab/udata-front/pull/386)
- Add codes and optgroups in Multiselect to display Insee codes and Licence groups [#347] (https://github.com/etalab/udata-front/pull/347)
- Fix datastructure display in ResourceAccordion [#389](https://github.com/etalab/udata-front/pull/389)
- Order Organization's reuses by publishing date [#390](https://github.com/etalab/udata-front/pull/390)
- Fix failing captchEtat responses [#392](https://github.com/etalab/udata-front/pull/392)

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"@conciergerie.dev/select-a11y": "^3.5.0",
"@conciergerie.dev/vue-toaster": "^2.4.4",
"@etalab/data.gouv.fr-components": "^1.13.8",
"@etalab/data.gouv.fr-components": "^1.13.10",
"@etalab/udata-front-plugins-helper": "1.1.0",
"@gouvfr/dsfr": "~1.9.2",
"@intlify/unplugin-vue-i18n": "^1.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
:tabindex="resourceStructureTabIndex"
v-show="resourceStructureSelected"
>
<component v-if="expanded" v-for="dataStructure in structure" :is="dataStructure.component" :resource="resource"/>
<component v-if="expanded && hasExplore" v-for="dataStructure in structure" :is="dataStructure.component" :resource="resource"/>
<hr class="fr-my-5v fr-p-1v" v-if="hasExplore && hasSchema"/>
<template v-if="hasSchema">
<div class="fr-grid-row fr-grid-row--gutters fr-grid-row--middle">
Expand Down

0 comments on commit 53d6cfd

Please sign in to comment.