1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed calculation of empty fields on frontend

This commit is contained in:
Fedor Katurov 2020-08-26 16:35:24 +07:00
parent de7818c235
commit c9d84a4947
3 changed files with 17 additions and 15 deletions

View file

@ -37,6 +37,7 @@ export const ERRORS = {
CANT_SAVE_COMMENT: 'CantSaveComment',
CANT_SAVE_NODE: 'CantSaveNode',
INPUT_TOO_SHIRT: 'InputTooShirt',
CANT_SAVE_USER: 'CantSaveUser',
};
export const ERROR_LITERAL = {
@ -79,4 +80,5 @@ export const ERROR_LITERAL = {
[ERRORS.CANT_SAVE_COMMENT]: 'Не удалось сохранить коммент',
[ERRORS.CANT_SAVE_NODE]: 'Не удалось сохранить пост',
[ERRORS.INPUT_TOO_SHIRT]: 'Должно быть длиннее',
[ERRORS.CANT_SAVE_USER]: 'Не удалось сохранить пользователя',
};