Skip to content

Commit

Permalink
fix: usd rate for conversion from USDT to USD (#575)
Browse files Browse the repository at this point in the history
fix usd rate for conversion from USDT to USD

Co-authored-by: Hildegard Lydia <37687466+hilyds@users.noreply.github.com>
  • Loading branch information
rubenkristian and hilyds authored Nov 9, 2022
1 parent 12f1ec1 commit 7120860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Dashboard/Lab/Services/Add.vue
Original file line number Diff line number Diff line change
@@ -341,11 +341,11 @@ export default {
}),
priceHint() {
return `${this.document.price} ${this.document.currency} = ${(this.usdRate * this.document.price).toFixed(4)} USD`
return `${this.document.price} ${this.document.currency} = ${(this.usdRate.conversion * this.document.price).toFixed(4)} USD`
},
qcPriceHint() {
return `${this.document.qcPrice} ${this.document.currency} = ${(this.usdRate * this.document.qcPrice).toFixed(4)} USD`
return `${this.document.qcPrice} ${this.document.currency} = ${(this.usdRate.conversion * this.document.qcPrice).toFixed(4)} USD`
},
hasServicePayload() {

0 comments on commit 7120860

Please sign in to comment.