Skip to content

Commit

Permalink
Merge branch 'hotfix/v2.4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Dec 11, 2024
2 parents d011337 + aeb5475 commit 0f1ed06
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to Roadiz will be documented in this file.

## [2.4.2](https://github.com/roadiz/core-bundle-dev-app/compare/v2.4.1...v2.4.2) - 2024-12-11

### Bug Fixes

- Testing if BO search result item thumbnails have url - ([2268215](https://github.com/roadiz/core-bundle-dev-app/commit/22682151fd30d7553ffe2f6b1bdc9e016bc6d459))

## [2.4.1](https://github.com/roadiz/core-bundle-dev-app/compare/v2.4.0...v2.4.1) - 2024-12-11

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion lib/RoadizCoreBundle/config/services.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
parameters:
roadiz_core.cms_version: '2.4.1'
roadiz_core.cms_version: '2.4.2'
roadiz_core.cms_version_prefix: 'main'
env(APP_NAMESPACE): "roadiz"
env(APP_VERSION): "0.1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<li v-for="item in items">
<ajax-link class="nodes-sources-search-results-item" :href="item.editItem" :title="item.displayable" :type-color="item.color">
<span class="image-container">
<picture v-if="item.thumbnail && item.thumbnail.processable">
<picture v-if="item.thumbnail && item.thumbnail.url && item.thumbnail.processable">
<source v-if="!item.thumbnail.url.endsWith('svg') && !item.thumbnail.url.endsWith('webp')"
:srcset="item.thumbnail.url + '.webp'"
type="image/webp">
Expand Down

0 comments on commit 0f1ed06

Please sign in to comment.