mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01: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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user