Explorar o código

prevent refresh page after loading collection on collections page

ruiyi.jiang %!s(int64=2) %!d(string=hai) anos
pai
achega
c5a6d0e106
Modificáronse 1 ficheiros con 1 adicións e 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',