@veloceapps/sdk 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/veloce-sdk-cms.umd.js +3 -3
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +9 -1
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/cms/types/configuration.types.d.ts +1 -1
- package/esm2015/cms/plugins/configuration.plugin.js +4 -4
- package/esm2015/cms/types/configuration.types.js +1 -1
- package/esm2015/src/components/header/header.component.js +10 -2
- package/fesm2015/veloce-sdk-cms.js +3 -3
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk.js +9 -1
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +4 -4
- package/src/components/header/header.component.d.ts +6 -0
@@ -1343,12 +1343,12 @@
|
|
1343
1343
|
};
|
1344
1344
|
ConfigurationPlugin.prototype.registerType = function () {
|
1345
1345
|
var _this = this;
|
1346
|
-
var remove = function (
|
1346
|
+
var remove = function () {
|
1347
1347
|
var rootLineItem = _this.configurationService.getSnapshot();
|
1348
|
-
if (!rootLineItem) {
|
1348
|
+
if (!rootLineItem || !_this.modelSnapshot) {
|
1349
1349
|
return;
|
1350
1350
|
}
|
1351
|
-
_this.configurationService.patch(new i2.LineItemWorker(rootLineItem).remove(id).li);
|
1351
|
+
_this.configurationService.patch(new i2.LineItemWorker(rootLineItem).remove(_this.modelSnapshot.id).li);
|
1352
1352
|
};
|
1353
1353
|
this.typeHost.remove = remove;
|
1354
1354
|
};
|