Skip to content

Commit

Permalink
Uploading bar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
propi committed Jan 30, 2020
1 parent 326c107 commit 78760a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/webapp/js/gui-opt.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ object Endpoint {

case class UploadProgress(loaded: Double, total: Option[Double]) {
def loadedInPercent: Option[Double] = total.collect {
case total if total > 0 => loaded / total
case total if total > 0 => (loaded / total) * 100
}
}

Expand Down

0 comments on commit 78760a9

Please sign in to comment.