Skip to content

Commit

Permalink
Fixed displaying filament usage
Browse files Browse the repository at this point in the history
  • Loading branch information
imrahil committed Dec 17, 2016
1 parent aa23693 commit 9ebc28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octoprint_printhistory/static/js/printhistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ $(function() {
id: self.pureData[key].id,
fileName: self.pureData[key].fileName,
success: (self.pureData[key].success == 1),
filamentUsage: (self.pureData[key].success == true) ? self.formatFilament(self.pureData[key]) : "-",
filamentUsage: self.formatFilament(self.pureData[key]),
timestamp: (self.pureData[key].timestamp != null) ? self.pureData[key].timestamp : "",
printTime: (self.pureData[key].printTime != null) ? self.pureData[key].printTime : "",
note: (self.pureData[key].note != null) ? self.pureData[key].note : ""
Expand Down

0 comments on commit 9ebc28f

Please sign in to comment.