fix market price margin setted to zero in offer edition (#1062)
Some checks failed
CI / build (macos-13) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
Codacy Coverage Reporter / Publish coverage (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled

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()));
}