Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,7 @@ const stable = computed(() => {
const value = new Dec(props.lease.amount.amount, asset?.decimal_digits ?? 0).mul(new Dec(price?.price ?? "0"));
return formatUsd(value.toString(2));
} else if (posType === "short") {
const lpn = configStore.getLpnByProtocol(protocol);
const value = new Dec(props.lease.amount.amount, lpn?.decimal_digits ?? 0);
const value = new Dec(props.lease.amount.amount, asset?.decimal_digits ?? 0);
return formatUsd(value.toString(2));
}

Expand Down
Loading