Web: PortalSettings: Deleted useless code.

This commit is contained in:
Tatiana Lopaeva 2023-02-13 13:34:40 +03:00
parent 244612da1a
commit 4354bccef3

View File

@ -140,15 +140,6 @@ class PaymentStore {
}
};
setStartPaymentLink = async (t) => {
try {
const link = await api.portal.getPaymentLink(this.managersCount);
this.setPaymentLink(link);
} catch (e) {
toastr.error(t("ErrorNotification"));
}
};
setTotalPrice = (value) => {
const price = this.getTotalCostByFormula(value);
if (price !== this.totalPrice) this.totalPrice = price;