in team views use `try` method to protect nil receiver Fix issue #2331,

王权利请求将github/fork/yangchenyun/master合并到master

Created by: yangchenyun

protect against nil keys in projects

合并请求报告