Filter out pending_owners from the 'add owners' column
This commit is contained in:
parent
d6b6b8f11f
commit
e76a62c2a5
@ -226,7 +226,8 @@ define([
|
|||||||
var drawAdd = function () {
|
var drawAdd = function () {
|
||||||
var _friends = JSON.parse(JSON.stringify(friends));
|
var _friends = JSON.parse(JSON.stringify(friends));
|
||||||
Object.keys(_friends).forEach(function (curve) {
|
Object.keys(_friends).forEach(function (curve) {
|
||||||
if (owners.indexOf(_friends[curve].edPublic) !== -1) {
|
if (owners.indexOf(_friends[curve].edPublic) !== -1 ||
|
||||||
|
pending_owners.indexOf(_friends[curve].edPublic) !== -1) {
|
||||||
delete _friends[curve];
|
delete _friends[curve];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user