Skip to content

Commit

Permalink
[PLA-1059] fix royalty (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
zlayine authored Nov 8, 2023
1 parent 0d249ff commit 5ef8334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/util/royalty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class Royalty {

static getRoyaltyPercentage(item: any) {
if (item?.royalty?.percentage) {
return item.royalty.percentage;
return item.royalty.percentage * 100;
}

return 0;
Expand Down

0 comments on commit 5ef8334

Please sign in to comment.