caipin 4 lat temu
rodzic
commit
45e76564d7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      services/tree_service.go

+ 1 - 1
services/tree_service.go

@@ -164,7 +164,7 @@ func (s *treeService) GetAllContract(projectId int, account *models.CmProjectAcc
 	for _, data := range datalist {
 
 		flag := true
-		if data.BidsectionId != 0 {
+		if data.BidsectionId != 0 && account.IsAdmin != 1 {
 			flag = false
 		}