diff --git a/src/client/stores/CalculationStore/Effects/action.ts b/src/client/stores/CalculationStore/Effects/action.ts index 2b510d4..1e39473 100644 --- a/src/client/stores/CalculationStore/Effects/action.ts +++ b/src/client/stores/CalculationStore/Effects/action.ts @@ -289,6 +289,9 @@ const actions: TAction = { message.success({ content: 'Расчет завершен успешно!', duration: 5, + style: { + marginTop: '7vh', + }, }); const { sumWithVatColumn, vatColumn, sumRepaymentColumn } = res.columns; @@ -311,10 +314,10 @@ const actions: TAction = { return { ...res, ...preparedData }; }) .catch(err => { - message.error({ - content: 'Произошла ошибка во время расчета!', - duration: 5, - }); + openNotification({ + type: 'error', + title: 'Ошибка во время расчета!', + })(); throw err; }); },