@igo2/integration 21.0.0-next.50 → 21.0.0-next.51
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.
|
@@ -595,22 +595,10 @@ let CatalogLibraryToolComponent = class CatalogLibraryToolComponent {
|
|
|
595
595
|
* List of predefined catalogs
|
|
596
596
|
*/
|
|
597
597
|
predefinedCatalogs = input([], ...(ngDevMode ? [{ debugName: "predefinedCatalogs" }] : /* istanbul ignore next */ []));
|
|
598
|
-
set selectedCatalogId(id) {
|
|
599
|
-
this.storageService.set('selectedCatalogId', id, StorageScope.SESSION);
|
|
600
|
-
}
|
|
601
|
-
get currentTool() {
|
|
602
|
-
return this.toolState.toolbox.getCurrentPreviousToolName()[1];
|
|
603
|
-
}
|
|
604
|
-
get lastTool() {
|
|
605
|
-
return this.toolState.toolbox.getCurrentPreviousToolName()[0];
|
|
606
|
-
}
|
|
607
598
|
/**
|
|
608
599
|
* @internal
|
|
609
600
|
*/
|
|
610
601
|
ngOnInit() {
|
|
611
|
-
if (this.lastTool === 'catalogBrowser' && this.currentTool === 'catalog') {
|
|
612
|
-
this.selectedCatalogId = null;
|
|
613
|
-
}
|
|
614
602
|
if (this.store.count === 0) {
|
|
615
603
|
this.loadCatalogs();
|
|
616
604
|
}
|