Improve team and account deletion for pads multiple owners
This commit is contained in:
@@ -827,7 +827,7 @@ define([
|
||||
// Don't push duplicates
|
||||
if (result.indexOf(data.channel) !== -1) { return; }
|
||||
// Return owned pads
|
||||
if (_ownedByMe(Env, data.owners) && data.owners.length === 1) {
|
||||
if (_ownedByMe(Env, data.owners)) {
|
||||
result.push(data.channel);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user