fix filter selectRegistration
This commit is contained in:
parent
ed61899acc
commit
22dd61be13
@ -378,26 +378,13 @@ const gibddReactions: IReactionEffect[] = [
|
||||
return false;
|
||||
}
|
||||
|
||||
if (
|
||||
objectRegionRegistration.accounts &&
|
||||
objectRegionRegistration.accounts.length > 0
|
||||
) {
|
||||
// 1
|
||||
if (!x.evo_accountid) {
|
||||
return false;
|
||||
}
|
||||
// 4
|
||||
return objectRegionRegistration.accounts
|
||||
.map(r => r.accountid)
|
||||
.includes(x.evo_accountid);
|
||||
if (!x.evo_accountid) {
|
||||
return true;
|
||||
}
|
||||
|
||||
//3
|
||||
if (x.evo_accountid) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return objectRegionRegistration.accounts
|
||||
.map(r => r.accountid)
|
||||
.includes(x.evo_accountid);
|
||||
}),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user