Skip to content

Commit

Permalink
fix: hide empty repositories when SHOW_CATALOG_NB_TAGS is active (J…
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed Apr 30, 2023
1 parent 43a2423 commit b081108
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/catalog/catalog-element.riot
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class="content"
if="{!props.filterResults || state.nImages > 0 || matchSearch(props.filterResults, state.image)}"
>
<material-card class="list highlight" expanded="{state.expanded}" onclick="{ onClick }">
<material-card
class="list highlight"
expanded="{state.expanded}"
onclick="{ onClick }"
if="{ !props.showCatalogNbTags || state.nbTags !== 0 }"
>
<a if="{ state.image }" href="{ router.taglist(state.image) }">
<material-waves center="true" color="#ddd"></material-waves>
</a>
Expand Down

0 comments on commit b081108

Please sign in to comment.