From 13a06bf1251070fc00a1fae77eb330deb7ad005f Mon Sep 17 00:00:00 2001 From: Peter Dulacka Date: Tue, 14 Nov 2023 11:55:17 +0100 Subject: [PATCH] Finalize configuration of newsletter settings --- src/Components/MailSettings/MailSettings.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Components/MailSettings/MailSettings.php b/src/Components/MailSettings/MailSettings.php index 74854bc..d8ee186 100644 --- a/src/Components/MailSettings/MailSettings.php +++ b/src/Components/MailSettings/MailSettings.php @@ -47,10 +47,14 @@ public function render(array $mailTypeCategoryCodes = null) } $this->template->categories = $categories; + $this->template->rtmParams = $this->presenter->rtmParams(); + $this->template->prohibitedMode = $this->isProhibited(); if (empty($categories)) { $this->template->showUnsubscribeAll = false; $this->template->showSubscribeAll = false; + $this->template->mailTypesByCategories = []; + $this->template->mailTypeCategoryCodes = []; $this->template->render(); return; }