Browse Source

prevent refresh page after loading collection on collections page

ruiyi.jiang 2 years ago
parent
commit
c5a6d0e106
1 changed files with 1 additions and 0 deletions
  1. 1 0
      client/src/pages/collections/Collections.tsx

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

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