@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix weird "0" notification numbers

Summary: The JsShrink change swapped an "== 0" for "=== 0" in JS, but we're currently sending a string down. Fixes T3230.

Test Plan: I'm not 100% sure this actually fixes it but probably? Let me know if you still see it.

Reviewers: chad, btrahan

Reviewed By: chad

CC: aran

Maniphest Tasks: T3230

Differential Revision: https://secure.phabricator.com/D5997

+1 -1
+1 -1
src/applications/notification/controller/PhabricatorNotificationPanelController.php
··· 43 43 44 44 $json = array( 45 45 'content' => $content, 46 - 'number' => $unread_count, 46 + 'number' => (int)$unread_count, 47 47 ); 48 48 49 49 return id(new AphrontAjaxResponse())->setContent($json);