mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
Improved newsletter activity feed copy
refs https://github.com/TryGhost/Team/issues/1570 refs https://ghost.slack.com/archives/C02G9E68C/p1651581277636729?thread_ts=1651569897.474819&cid=C02G9E68C Activity feed now shows 'Subscribed to newsletter – Weekly newsletter" text
This commit is contained in:
parent
5c6316f051
commit
a3218b0a2b
@ -128,7 +128,7 @@ function getAction(event) {
|
||||
function getObject(event) {
|
||||
if (event.type === 'newsletter_event') {
|
||||
if (event.data.newsletter && event.data.newsletter.name) {
|
||||
return 'emails from ' + event.data.newsletter.name;
|
||||
return 'newsletter – ' + event.data.newsletter.name;
|
||||
}
|
||||
return 'emails';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user