Skip to content

Commit

Permalink
Fixed #14050
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Dec 22, 2023
1 parent 0db7028 commit b798276
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for Craft CMS 5

## Unreleased

- Fixed a bug where section preview targets weren’t being respected in Craft Pro. ([#14050](https://github.com/craftcms/cms/issues/14050))

## 5.0.0-alpha.3 - 2023-12-21

- Added the `tempAssetUploadFs` config setting. ([#13957](https://github.com/craftcms/cms/pull/13957))
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ public function getCardBodyHtml(): ?string
*/
protected function previewTargets(): array
{
if ($this->fieldId || Craft::$app->getEdition() === Craft::Pro) {
if ($this->fieldId || Craft::$app->getEdition() === Craft::Solo) {
return parent::previewTargets();
}

Expand Down

0 comments on commit b798276

Please sign in to comment.