mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Fixed members CSV uploader for non-devExperiments version
This commit is contained in:
parent
21a5b2ad38
commit
caf08b1021
@ -209,6 +209,7 @@ export default ModalComponent.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
upload() {
|
upload() {
|
||||||
|
if (this.config.get('enableDeveloperExperiments')) {
|
||||||
if (this.file && this.mapping.getKeyByValue('email')) {
|
if (this.file && this.mapping.getKeyByValue('email')) {
|
||||||
this.generateRequest();
|
this.generateRequest();
|
||||||
} else {
|
} else {
|
||||||
@ -217,6 +218,9 @@ export default ModalComponent.extend({
|
|||||||
context: 'The CSV import has to have selected import as "Email" field.'
|
context: 'The CSV import has to have selected import as "Email" field.'
|
||||||
}]);
|
}]);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.generateRequest();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
continueImport() {
|
continueImport() {
|
||||||
|
Loading…
Reference in New Issue
Block a user