Преглед изворни кода

prevent refresh page after loading collection on collections page

ruiyi.jiang пре 2 година
родитељ
комит
c5a6d0e106
1 измењених фајлова са 1 додато и 0 уклоњено
  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',