Skip to content

Commit

Permalink
add brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Nov 21, 2024
1 parent c9dd244 commit 9b759a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,8 @@ export const ModelsList: FC<Props> = ({
<>
{downloadState
? (
(downloadState.downloaded_parts / downloadState.total_parts || -1) * 100
(downloadState.downloaded_parts / (downloadState.total_parts || -1)) *
100
).toFixed(0) + '%'
: '100%'}
</>
Expand Down

0 comments on commit 9b759a5

Please sign in to comment.