Fixed admin-facing display bug in channel settings page.
This commit is contained in:
parent
02f57fafd5
commit
47bd012c8d
|
|
@ -198,7 +198,7 @@ class rankList{
|
|||
imgNode.src = user.img;
|
||||
|
||||
//If the listed user rank is equal or higher than the signed-in user
|
||||
if(rankEnum.indexOf(user.rank) >= rankEnum.indexOf(curUser.rank)){
|
||||
if(curUser != null && rankEnum.indexOf(user.rank) >= rankEnum.indexOf(curUser.rank)){
|
||||
var rankContent = user.rank;
|
||||
}else{
|
||||
//Create rank select
|
||||
|
|
|
|||
Loading…
Reference in a new issue