Jacob Fletcher
a675c04c99
fix: respects boolean query preset constraints ( #12124 )
...
Returning a boolean value from a constraint-level access control
function does nothing. For example:
```ts
{
label: 'Noone',
value: 'noone',
access: () => false,
},
```
This is because we were only handling query objects, disregarding any
boolean values. The fix is to check if the query is a boolean, and if
so, format a query object to return.
2025-04-16 09:16:43 -04:00
..
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-14 15:27:53 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-14 17:05:08 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-03-11 17:19:36 -04:00
2025-03-11 17:19:36 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-14 10:39:04 -04:00
2025-04-16 09:16:43 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-15 15:23:51 -04:00
2025-04-15 15:23:51 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-15 15:23:51 -04:00
2025-04-10 15:38:35 -04:00
2025-04-15 15:23:51 -04:00
2025-04-15 15:23:51 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-10 15:38:35 -04:00
2025-04-14 11:21:27 -04:00
2025-04-15 15:23:51 -04:00