mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Updated import to never use {active,instsalled}_apps
no-issue This is so that new imports will not contain old default, or invalid values.
This commit is contained in:
parent
7461869f13
commit
b50cff8753
1 changed files with 4 additions and 4 deletions
|
@ -55,12 +55,12 @@ class SettingsImporter extends BaseImporter {
|
|||
help: this.modelName,
|
||||
context: JSON.stringify({activeApps, installedApps})
|
||||
});
|
||||
|
||||
this.dataToImport = _.filter(this.dataToImport, (data) => {
|
||||
return data.key !== 'active_apps' && data.key !== 'installed_apps';
|
||||
});
|
||||
}
|
||||
|
||||
this.dataToImport = _.filter(this.dataToImport, (data) => {
|
||||
return data.key !== 'active_apps' && data.key !== 'installed_apps';
|
||||
});
|
||||
|
||||
const permalinks = _.find(this.dataToImport, {key: 'permalinks'});
|
||||
|
||||
if (permalinks) {
|
||||
|
|
Loading…
Add table
Reference in a new issue