diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-install-dialog.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-install-dialog.component.html
index f101a75cbb..213b469541 100644
--- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-install-dialog.component.html
+++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-install-dialog.component.html
@@ -69,7 +69,7 @@
@if (entityDetailsUrl) {
}
}
diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.html
index 4139763f5c..350c1850c4 100644
--- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.html
+++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.html
@@ -25,14 +25,16 @@
diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.ts
index cc3db3e29d..8fedd5b827 100644
--- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.ts
+++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.ts
@@ -15,7 +15,7 @@
///
import { Component, OnInit, AfterViewInit, ViewChild } from '@angular/core';
-import { Router } from '@angular/router';
+import { ActivatedRoute, Router } from '@angular/router';
import { MatDialog } from '@angular/material/dialog';
import { MatSort } from '@angular/material/sort';
import { MatPaginator } from '@angular/material/paginator';
@@ -72,11 +72,16 @@ export class TbIotHubInstalledItemsComponent implements OnInit, AfterViewInit {
private dialogService: DialogService,
private translate: TranslateService,
private store: Store,
+ private route: ActivatedRoute,
private router: Router,
private dialog: MatDialog
) {}
ngOnInit(): void {
+ const itemType = this.route.snapshot.queryParamMap.get('itemType');
+ if (itemType && this.allItemTypes.includes(itemType)) {
+ this.activeTypeFilters.add(itemType);
+ }
this.searchSubject.pipe(
debounceTime(300)
).subscribe(() => {
diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.ts
index 4f6f0a87be..c0a875e926 100644
--- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.ts
+++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.ts
@@ -100,7 +100,7 @@ export class TbIotHubItemsPageComponent implements OnInit {
}
navigateToInstalledItems(): void {
- this.router.navigate(['/iot-hub/installed']);
+ this.router.navigate(['/iot-hub/installed'], { queryParams: { itemType: this.config.type } });
}
openSignup(): void {
diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-update-dialog.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-update-dialog.component.html
index 77932f9bd6..cc86d800c7 100644
--- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-update-dialog.component.html
+++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-update-dialog.component.html
@@ -53,7 +53,7 @@
@if (entityDetailsUrl) {
}
}