Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: prevent double trigger for column filtering (#4625)

Shahmir Varqhaa13df34036a6
diff --git a/frontend/src/components/data-table/column-header.tsx b/frontend/src/components/data-table/column-header.tsx
index c1ee2f2c3a..3960084b39 100644
--- a/frontend/src/components/data-table/column-header.tsx
+++ b/frontend/src/components/data-table/column-header.tsx
@@ -466,12 +466,6 @@ const PopoverFilterByValues = <TData, TValue>({
>
<Checkbox
checked={chosenValues.size === filteredData.length}
- onCheckedChange={(checked) => {
- if (typeof checked === "string") {
- return;
- }
- handleToggleAll(checked);
- }}
aria-label="Select all"
className="mr-3 h-3.5 w-3.5"
/>
@@ -490,9 +484,6 @@ const PopoverFilterByValues = <TData, TValue>({
>
<Checkbox
checked={isSelected}
- onCheckedChange={() => {
- handleToggle(value);
- }}
aria-label="Select row"
className="mr-3 h-3.5 w-3.5"
/>