Explorar el Código

prevent refresh page after loading collection on collections page

ruiyi.jiang hace 2 años
padre
commit
c5a6d0e106
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      client/src/pages/collections/Collections.tsx

+ 1 - 0
client/src/pages/collections/Collections.tsx

@@ -453,6 +453,7 @@ const Collections = () => {
                 ? handleLoad
                 : handleRelease;
             handleAction(row, cb);
+            e.preventDefault();
           },
           icon: 'load',
           label: 'load',