fix market price margin setted to zero in offer edition (#1062)

This commit is contained in:
nsec1 2024-06-21 14:02:49 -03:00 committed by GitHub
parent 1f0e326a16
commit f454bbbf63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,7 +102,6 @@ class EditOfferViewModel extends MutableOfferViewModel<EditOfferDataModel> {
}
public void onInvalidateMarketPriceMarginPct() {
marketPriceMargin.set("0.00%");
marketPriceMargin.set(FormattingUtils.formatToPercent(dataModel.getMarketPriceMarginPct()));
}