barsa-tiles 1.0.415 → 1.0.417
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/esm2020/lib/tiles-viewer-container/tiles-viewer-container.component.mjs +2 -2
- package/esm2020/lib/tiles.service.mjs +2 -2
- package/fesm2015/barsa-tiles.mjs +2 -2
- package/fesm2015/barsa-tiles.mjs.map +1 -1
- package/fesm2020/barsa-tiles.mjs +2 -2
- package/fesm2020/barsa-tiles.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2020/barsa-tiles.mjs
CHANGED
|
@@ -130,7 +130,7 @@ class TilesService {
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
saveTilesStackContent(tilesStackContent) {
|
|
133
|
-
const userPortalSettings = this._portalService.userPortalSettings;
|
|
133
|
+
const userPortalSettings = this._portalService.userPortalSettings['UserPortalSettings'];
|
|
134
134
|
if (userPortalSettings == null) {
|
|
135
135
|
return Promise.resolve();
|
|
136
136
|
}
|
|
@@ -1460,7 +1460,7 @@ class TilesViewerContainerComponent extends BaseComponent {
|
|
|
1460
1460
|
this.userStackContent = false;
|
|
1461
1461
|
this.initialStackContentValue = false;
|
|
1462
1462
|
this.firstSelected = false;
|
|
1463
|
-
this.stackContent$ = this._portalService.userPortalSettings$.pipe(takeUntil(this._onDestroy$), map((settings) => settings?.TilesStackContent), distinctUntilChanged());
|
|
1463
|
+
this.stackContent$ = this._portalService.userPortalSettings$.pipe(takeUntil(this._onDestroy$), map((settings) => settings['UserPortalSettings']), map((settings) => settings?.TilesStackContent), distinctUntilChanged());
|
|
1464
1464
|
this.stackContent$.subscribe((stackContent) => {
|
|
1465
1465
|
this.initialStackContentValue = this.userStackContent = stackContent;
|
|
1466
1466
|
if (stackContent) {
|