bito-code-review[bot] commented on PR #40470:
URL: https://github.com/apache/superset/pull/40470#issuecomment-4604552175

   <!-- Bito Reply -->
   The logic is correct. The expression `Array.isArray(loadedValue) && 
loadedValue.every(v => v === null)` specifically identifies the `[null, null]` 
case (or any array containing only nulls) and treats it as "no value," which is 
the intended behavior for clearing range filters.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to