MaiXinRong 2 years ago
parent
commit
6707eaaf03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/sub_project.js

+ 1 - 1
app/service/sub_project.js

@@ -60,7 +60,7 @@ module.exports = app => {
                 if (!pb) return false;
                 x.permission = pb.budget_permission;
                 x.manage_permission = pb.manage_permission;
-                return x.budget_permission.length > 0;
+                return x.permission.length > 0;
             });
             return this._filterEmptyFolder(result);
         }