@pepperi-addons/ngx-composite-lib 0.4.2-beta.73 → 0.4.2-beta.74

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.
@@ -321,14 +321,16 @@ class LayoutBuilderInternalService {
321
321
  loadDefaultEditor(layoutView) {
322
322
  this._editorsBreadCrumb = new Array();
323
323
  if (layoutView) {
324
- this._editorsBreadCrumb.push({
325
- id: LayoutBuilderInternalService.MAIN_EDITOR_ID,
326
- type: 'layout-builder',
327
- title: this.translate.instant('LAYOUT_BUILDER.DEFAULT_TITLE'),
328
- // hostObject: {} // Updates in updateLayoutEditorProperties function above.
324
+ this.translate.get('LAYOUT_BUILDER.DEFAULT_TITLE').subscribe((title) => {
325
+ this._editorsBreadCrumb.push({
326
+ id: LayoutBuilderInternalService.MAIN_EDITOR_ID,
327
+ type: 'layout-builder',
328
+ title: title,
329
+ // hostObject: {} // Updates in updateLayoutEditorProperties function above.
330
+ });
331
+ this.updateLayoutEditorProperties(layoutView);
332
+ this.notifyEditorChange(this._editorsBreadCrumb[0]);
329
333
  });
330
- this.updateLayoutEditorProperties(layoutView);
331
- this.notifyEditorChange(this._editorsBreadCrumb[0]);
332
334
  }
333
335
  else {
334
336
  this.notifyEditorChange(null);
@@ -984,7 +986,8 @@ class SectionComponent extends BaseDestroyerDirective {
984
986
  // this.refreshSplit();
985
987
  // }
986
988
  get editable() {
987
- return true; //this.layoutBuilderInternalService.editableState;;
989
+ return this.layoutBuilderInternalService.editableState;
990
+ ;
988
991
  }
989
992
  set screenSize(value) {
990
993
  this._screenSize = value;