We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11d096 commit 546f184Copy full SHA for 546f184
plugins/bcc-login/src/visibility.js
@@ -162,7 +162,7 @@ registerPlugin("bcc-notifications", {
162
const postType = getCurrentPostType();
163
const allowedTypes = Array.isArray(window.bccLoginNotificationPostTypes) ? window.bccLoginNotificationPostTypes : [];
164
165
- const sentNotifications = meta?.sent_notifications.map(notification => {
+ const sentNotifications = meta?.sent_notifications?.map(notification => {
166
return {
167
date: (new Date(notification.date)).toLocaleString(),
168
no_of_groups: notification.notification_groups.length
0 commit comments