fix: messages appToaster.

This commit is contained in:
elforjani3
2021-01-25 18:47:24 +02:00
parent 3d080244e6
commit 9fa329bef5
32 changed files with 175 additions and 187 deletions

View File

@@ -178,8 +178,8 @@ function CustomerForm({
AppToaster.show({
message: formatMessage({
id: customer
? 'the_item_customer_has_been_successfully_edited'
: 'the_customer_has_been_successfully_created',
? 'the_item_customer_has_been_edited_successfully'
: 'the_customer_has_been_created_successfully',
}),
intent: Intent.SUCCESS,
});

View File

@@ -108,7 +108,7 @@ function CustomersList({
setDeleteCustomer(false);
AppToaster.show({
message: formatMessage({
id: 'the_customer_has_been_successfully_deleted',
id: 'the_customer_has_been_deleted_successfully',
}),
intent: Intent.SUCCESS,
});
@@ -172,7 +172,7 @@ function CustomersList({
setBulkDelete(false);
AppToaster.show({
message: formatMessage({
id: 'the_customers_has_been_successfully_deleted',
id: 'the_customers_has_been_deleted_successfully',
}),
intent: Intent.SUCCESS,
});