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