Fix permission filter not being applied
This commit is contained in:
1 parent
20857549d0
commit
306015f022
3 files changed
+89
-32
No files matched your search
@@ -277,7 +277,7 @@ export async function evaluateAsync(
|
||||
});
|
||||
}
|
||||
|
||||
export function and(exp1, exp2): Expression {
|
||||
export function and(exp1: Expression, exp2: Expression): Expression {
|
||||
if (!isArray(exp1)) return exp1 ? exp2 : exp1;
|
||||
if (!isArray(exp2)) return exp2 ? exp1 : exp2;
|
||||
|
||||
@@ -292,7 +292,7 @@ export function and(exp1, exp2): Expression {
|
||||
return res;
|
||||
}
|
||||
|
||||
export function or(exp1, exp2): Expression {
|
||||
export function or(exp1: Expression, exp2: Expression): Expression {
|
||||
if (!isArray(exp1)) return exp1 ? exp1 : exp2;
|
||||
if (!isArray(exp2)) return exp2 ? exp2 : exp1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user