Owner can't demote themselves if there are no other owners
This commit is contained in:
@@ -587,7 +587,7 @@ define([
|
|||||||
}
|
}
|
||||||
todo();
|
todo();
|
||||||
});
|
});
|
||||||
if (!(isMe && myRole === 2 && !otherOwners)) {
|
if (!(isMe && myRole === 3 && !otherOwners)) {
|
||||||
$actions.append(demote);
|
$actions.append(demote);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user