mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #2589 from overleaf/ns-hide-v1-projects
ensure v1 projects folder not shown on dashboard if empty GitOrigin-RevId: d8c0f1352fc2e8d891eb76f7d1ef00126a4f581e
This commit is contained in:
parent
3b70e080b1
commit
10d6a9b7f2
1 changed files with 3 additions and 1 deletions
|
@ -556,7 +556,9 @@ const ProjectController = {
|
|||
user,
|
||||
userAffiliations,
|
||||
hasSubscription: results.hasSubscription,
|
||||
isShowingV1Projects: results.v1Projects != null,
|
||||
isShowingV1Projects:
|
||||
results.v1Projects != null &&
|
||||
results.v1Projects.projects.length > 0,
|
||||
warnings,
|
||||
zipFileSizeLimit: Settings.maxUploadSize
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue