From fcff96f012c95ceb321c2b33dbcc54eb9d2dd379 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 20 Oct 2016 16:51:16 -0700 Subject: [PATCH] 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 --- .../conpherence/view/ConpherenceLayoutView.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/applications/conpherence/view/ConpherenceLayoutView.php b/src/applications/conpherence/view/ConpherenceLayoutView.php index e8d94ed81d..6699d61994 100644 --- a/src/applications/conpherence/view/ConpherenceLayoutView.php +++ b/src/applications/conpherence/view/ConpherenceLayoutView.php @@ -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 {