mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Hide V1 projects from shared filter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user