Skip to content

Commit

Permalink
fix progress indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilReinking committed Aug 15, 2024
1 parent 1d132d8 commit ec2a3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/stores/conversation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export const useConversation = defineStore("form", {
0,
);

return Math.round((loaded / total) * 100);
return Math.min(100, Math.round((loaded / total) * 100));
},
},

Expand Down

0 comments on commit ec2a3fc

Please sign in to comment.