seimin 5 місяців тому
батько
коміт
1641c7f127

+ 1 - 1
src/app/components/order-scope/order-scope.component.ts

@@ -131,7 +131,7 @@ export class OrderScopeComponent implements OnInit {
131 131
       this.hosList = hospitals.filter(v => !this.tool.isDuty(v));
132 132
       this.taskTypes = this.user.infoPermission.taskTypes || [];
133 133
       let userGroups = this.user.infoPermission.groups || [];
134
-      this.userGroups = this.user.infoPermission.groups.filter(v => v.type !== 3);
134
+      this.userGroups = userGroups.filter(v => v.type !== 3);
135 135
       this.hosList.forEach((e) => {
136 136
         let arrT = [],
137 137
           arrG = [];