mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 23:01:04 +01:00
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
This commit is contained in:
parent
49ef13e876
commit
f8d8156ccc
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ final class PhabricatorNotificationPanelController
|
|||
|
||||
$json = array(
|
||||
'content' => $content,
|
||||
'number' => $unread_count,
|
||||
'number' => (int)$unread_count,
|
||||
);
|
||||
|
||||
return id(new AphrontAjaxResponse())->setContent($json);
|
||||
|
|
Loading…
Reference in a new issue