No selected team
This commit is contained in:
1 parent
2abe3caa73
commit
ab148f340e
1 file changed
+3
@@ -255,6 +255,9 @@ function newProductsPanel () {
|
||||
}
|
||||
|
||||
function isUserTeam(team, userTeams){
|
||||
if(userTeams === undefined)
|
||||
return false
|
||||
|
||||
for (let index = 0; index < userTeams.length; index++) {
|
||||
if(team === userTeams[index].slug){
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user