Explorar o código

BugFix for deselectAll

Yuki Takei %!s(int64=4) %!d(string=hai) anos
pai
achega
9febf6c3b0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/app/src/components/SearchPage.tsx

+ 1 - 1
packages/app/src/components/SearchPage.tsx

@@ -133,7 +133,7 @@ export const SearchPage = (props: Props): JSX.Element => {
     if (isChecked) {
       instance.selectAll();
     }
-    if (isChecked) {
+    if (!isChecked) {
       instance.deselectAll();
     }
   }, []);