Merge pull request #1889 from nobodywithbody/fix/success-delete-notification

Add notification for delete all types
This commit is contained in:
Jim LAURIE 2018-09-06 18:12:54 +02:00 committed by GitHub
commit 751a1e75ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,6 +107,7 @@ export function* dataDeleteAll({ entriesToDelete, model, source }) {
yield put(deleteSeveralDataSuccess());
yield call(dataGet, { currentModel: model, source });
strapi.notification.success('content-manager.success.record.delete');
} catch(err) {
strapi.notification.error('content-manager.error.record.delete');
}