Updated members import error detection

refs refs https://github.com/TryGhost/Team/issues/912
refs d6f3210fd2
This commit is contained in:
Naz 2021-08-20 18:09:06 +04:00
parent 99328ab145
commit 633a40e8e3

View File

@ -211,7 +211,7 @@ export default ModalComponent.extend({
} else if (error.payload && error.payload.errors && !isBlank(error.payload.errors[0].message)) {
message = htmlSafe(error.payload.errors[0].message);
if (error.payload.errors[0].message.match(/list of that size/gi)) {
if (error.payload.errors[0].message.match(/great deliverability/gi)) {
header = 'Woah there cowboy, that\'s a big list';
this.set('showTryAgainButton', false);
// NOTE: confirm makes sure to refresh the members data in the background