Browse Source

Fix scroll

Luca Parisio 8 tháng trước cách đây
mục cha
commit
ef4e56f494
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      resources/views/livewire/records_in.blade.php

+ 3 - 1
resources/views/livewire/records_in.blade.php

@@ -1012,7 +1012,9 @@
         }
 
         function setChangedAmount() {
-            @this.setAmount();
+            @if(!$isDuplicate)
+                @this.setAmount();
+            @endif
         }
 
     </script>