diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f56abca..465f0d8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Release Notes for Campaign +## 3.5.5 - 2024-10-08 + +### Fixed + +- Fixed a bug in which the “delete draft” menu item could appear twice when editing a draft contact. + ## 3.5.4 - 2024-10-08 ### Fixed diff --git a/composer.json b/composer.json index c1e8f5b0..f1823b4a 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "putyourlightson/craft-campaign", "description": "Send and manage email campaigns, contacts and mailing lists.", - "version": "3.5.4", + "version": "3.5.5", "type": "craft-plugin", "homepage": "https://putyourlightson.com/plugins/campaign", "license": "proprietary", diff --git a/src/elements/ContactElement.php b/src/elements/ContactElement.php index 5ac6ae01..66051883 100755 --- a/src/elements/ContactElement.php +++ b/src/elements/ContactElement.php @@ -566,7 +566,7 @@ protected function crumbs(): array protected function safeActionMenuItems(): array { if (!$this->id || $this->getIsUnpublishedDraft()) { - return parent::destructiveActionMenuItems(); + return parent::safeActionMenuItems(); } $items = [];