Fix logic in removeItemRestrictions function.
if (filters.ExcludedFilter != []) to if (!filters.ExcludedFilter) as the first will always return true in JS.
This commit is contained in:
parent
53cd6cc232
commit
34bcd62d14
@ -158,7 +158,7 @@ export class Items
|
||||
for (const j in grid._props.filters)
|
||||
{
|
||||
const filters = grid._props.filters[j];
|
||||
if (filters.ExcludedFilter != [])
|
||||
if (!filters.ExcludedFilter)
|
||||
{
|
||||
filters.ExcludedFilter = [];
|
||||
filters.Filter.concat(..."5448e54d4bdc2dcc718b4568", "55802f3e4bdc2de7118b4584", "5448fe124bdc2da5018b4567", "543be5664bdc2dd4348b4569", "5447e0e74bdc2d3c308b4567", "543be6674bdc2df1348b4569", "5645bcb74bdc2ded0b8b4578", "550aa4154bdc2dd8348b456b", "5448e53e4bdc2d60728b4567", "5422acb9af1c889c16000029", "5a341c4086f77401f2541505", "5795f317245977243854e041", "5448bf274bdc2dfc2f8b456a");
|
||||
|
Loading…
x
Reference in New Issue
Block a user