1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 11:30:55 +01:00

Fix Conpherence NUX showing empty Joinable Rooms

Summary: I moved this to setContent with the new search result layout, but failed to update NUX here.

Test Plan: Leave all rooms, get Joinable Rooms with list of 10 rooms.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D16743
This commit is contained in:
Chad Little 2016-10-20 16:51:16 -07:00
parent 4058726b3a
commit fcff96f012

View file

@ -241,13 +241,7 @@ final class ConpherenceLayoutView extends AphrontTagView {
$box = id(new PHUIObjectBoxView())
->setHeader($header)
->setObjectList($view->getObjectList());
if ($viewer->isLoggedIn()) {
$info = id(new PHUIInfoView())
->appendChild(pht('You have not joined any rooms yet.'))
->setSeverity(PHUIInfoView::SEVERITY_NOTICE);
$box->setInfoView($info);
}
->setObjectList($view->getContent());
return $box;
} else {