| @@ -77,10 +77,9 @@ | ||
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | private function get_app_js_config(): array { |
| 80 | 80 | return [ |
| 81 | - 'is_unread' => Options::has_unread_notifications(), | |
| 82 | - 'unread_count' => Options::get_unread_count(), | |
| 81 | + 'is_unread' => Options::has_unread_notifications(), | |
| 83 | 82 | ]; |
| 84 | 83 | } |
| 85 | 84 | |
| 86 | 85 | public function register_ajax_actions( $ajax ) { |