File size: 318 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 |
import 'calypso/state/document-head/init';
/**
* Returns a count reflecting unread items.
* @param {Object} state Global state tree
* @returns {?string} Unread count (string because it can be e.g. '40+')
*/
export function getDocumentHeadUnreadCount( state ) {
return state.documentHead.unreadCount;
}
|