From 37c7a95fde550827b960745d890c1e4caad518ff Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Mon, 30 Oct 2017 15:30:14 +0000 Subject: [PATCH] Hide V1 projects from shared filter --- .../web/public/coffee/main/project-list/project-list.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/web/public/coffee/main/project-list/project-list.coffee b/services/web/public/coffee/main/project-list/project-list.coffee index 8c39df060f..63e669308c 100644 --- a/services/web/public/coffee/main/project-list/project-list.coffee +++ b/services/web/public/coffee/main/project-list/project-list.coffee @@ -116,6 +116,10 @@ define [ if $scope.filter == "shared" and project.accessLevel == "owner" visible = false + # Hide projects from V1 if we only want to see shared projects + if $scope.filter == "shared" and project.isOLProject + visible = false + # Hide projects we don't own if we only want to see owned projects if $scope.filter == "owned" and project.accessLevel != "owner" visible = false