This commit is contained in:
Mads Rasmussen
2021-08-31 13:07:21 +02:00
committed by Sebastiaan Janssen
parent 9a677bef9b
commit f36785f2e8

View File

@@ -606,6 +606,12 @@
return null;
}
// the Settings model has been changed to a new Element Type.
// we need to update the settingsData with the new Content Type key
if (settingsData.contentTypeKey !== settingsScaffold.contentTypeKey) {
settingsData.contentTypeKey = settingsScaffold.contentTypeKey;
}
blockObject.settingsData = settingsData;
// make basics from scaffold