From 615e4b448a75544e41bf25d38a2b68f8062592db Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Tue, 10 Nov 2015 11:36:11 +0000 Subject: [PATCH] fix search on project list page. ng-if breaks it but ng-show does not for some reason --- services/web/app/views/project/list.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/project/list.jade b/services/web/app/views/project/list.jade index 9d79cf1010..c4ec0e4d68 100644 --- a/services/web/app/views/project/list.jade +++ b/services/web/app/views/project/list.jade @@ -21,14 +21,14 @@ block content .content.content-alt(ng-controller="ProjectPageController") .container .row(ng-cloak) - span(ng-if="first_sign_up == 'default' || projects.length > 0") + span(ng-show="first_sign_up == 'default' || projects.length > 0") aside.col-md-2.col-xs-3 include ./list/side-bar .col-md-10.col-xs-9 include ./list/project-list - span(ng-if="first_sign_up == 'minimial' && projects.length == 0") + span(ng-show="first_sign_up == 'minimial' && projects.length == 0") .col-md-offset-2.col-md-8.col-md-offset-2.col-xs-8 include ./list/project-list-minimal