Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LostKobrakai committed Sep 20, 2023
1 parent 12df085 commit 3e18363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/test/upload_client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ defmodule Phoenix.LiveViewTest.UploadClient do
defp chunk_upload(state, from, entry_name, percent, proxy_pid, element) do
entry = get_entry!(state, entry_name)

if entry.new_percent >= 100 do
if entry.chunk_percent >= 100 do
state
else
do_chunk(state, from, entry, proxy_pid, element, percent)
Expand Down

0 comments on commit 3e18363

Please sign in to comment.