mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
This reverts commit 54064a7f961fe06f188ab449cd469cdaaf01b20a. GitOrigin-RevId: 1dabc635756aff465d2fe9aa0d18121b081df3b0
This commit is contained in:
committed by
Copybot
parent
40b781eb0a
commit
511fe60a9c
@@ -353,7 +353,6 @@ const _ProjectController = {
|
||||
'default-visual-for-beginners',
|
||||
'hotjar',
|
||||
'ai-add-on',
|
||||
'reviewer-role',
|
||||
].filter(Boolean)
|
||||
|
||||
const getUserValues = async userId =>
|
||||
@@ -895,14 +894,8 @@ const _ProjectController = {
|
||||
},
|
||||
_buildProjectList(allProjects, userId) {
|
||||
let project
|
||||
const {
|
||||
owned,
|
||||
review,
|
||||
readAndWrite,
|
||||
readOnly,
|
||||
tokenReadAndWrite,
|
||||
tokenReadOnly,
|
||||
} = allProjects
|
||||
const { owned, readAndWrite, readOnly, tokenReadAndWrite, tokenReadOnly } =
|
||||
allProjects
|
||||
const projects = []
|
||||
for (project of owned) {
|
||||
projects.push(
|
||||
@@ -925,16 +918,6 @@ const _ProjectController = {
|
||||
)
|
||||
)
|
||||
}
|
||||
for (project of review) {
|
||||
projects.push(
|
||||
ProjectController._buildProjectViewModel(
|
||||
project,
|
||||
'review',
|
||||
Sources.INVITE,
|
||||
userId
|
||||
)
|
||||
)
|
||||
}
|
||||
for (project of readOnly) {
|
||||
projects.push(
|
||||
ProjectController._buildProjectViewModel(
|
||||
|
||||
Reference in New Issue
Block a user