Use cache oldest created at in template
[MAILPOET-3646]
This commit is contained in:
@@ -21,6 +21,7 @@ var MailPoet = {
|
||||
apiVersion: window.mailpoet_api_version,
|
||||
emailRegex: window.mailpoet_email_regex,
|
||||
wpSegmentState: window.mailpoet_wp_segment_state,
|
||||
subscribersCountsCacheCreatedAt: window.mailpoet_subscribers_counts_cache_created_at,
|
||||
getShortcodeLinks: () => (window.mailpoet_shortcode_links ? window.mailpoet_shortcode_links : []),
|
||||
};
|
||||
|
||||
|
@@ -26,7 +26,9 @@ const ListHeading = () => (
|
||||
subscribersInPlanLimit={MailPoet.subscribersLimit}
|
||||
/>
|
||||
|
||||
<SubscribersCacheMessage cacheCalculation="2021-06-28 18:22:00" />
|
||||
<SubscribersCacheMessage
|
||||
cacheCalculation={window.mailpoet_subscribers_counts_cache_created_at}
|
||||
/>
|
||||
|
||||
<SubscribersLimitNotice />
|
||||
<InvalidMssKeyNotice
|
||||
|
Reference in New Issue
Block a user