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:
parent
4058726b3a
commit
fcff96f012
1 changed files with 1 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue