mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Hide V1 projects from shared filter
This commit is contained in:
parent
3f422dc48c
commit
37c7a95fde
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue