Updated newsletter management heading

- without the multiple newsletter UI flag, a site can have only one newsletter
- updates the heading for newsletter management UI to singular in that case
This commit is contained in:
Rishabh 2022-04-25 17:41:26 +05:30 committed by Matt Hanley
parent 9cfe11d112
commit 9706a82dd2
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
<div class="gh-main-section gh-newsletters">
<div class="flex justify-between items-center">
<h4 class="gh-main-section-header small bn">Newsletters</h4>
{{#if (feature "multipleNewslettersUI")}}
<h4 class="gh-main-section-header small bn">Newsletters</h4>
{{else}}
<h4 class="gh-main-section-header small bn">Newsletter</h4>
{{/if}}
{{#if this.archivedNewsletters}}
<div>
<div>