Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyRacer1337 committed Oct 3, 2024
1 parent 001b9d6 commit 2db6569
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/stats/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
}

// percentage helper
const percentage = (portion, total) => (total > 0 ? (portion / total * 100).toFixed(2) : 0) + "%";
const percentage = (portion, total) =>
(total > 0 ? ((portion / total) * 100).toFixed(2) : 0) + "%";

// *** actual stats fetching ***
// performer of scenes with any StashID
Expand Down

0 comments on commit 2db6569

Please sign in to comment.