diff --git a/src/Web/StellaOps.Web/src/app/features/integration-hub/integration.service.ts b/src/Web/StellaOps.Web/src/app/features/integration-hub/integration.service.ts index 21e71babf..1ca7fa928 100644 --- a/src/Web/StellaOps.Web/src/app/features/integration-hub/integration.service.ts +++ b/src/Web/StellaOps.Web/src/app/features/integration-hub/integration.service.ts @@ -29,6 +29,8 @@ export class IntegrationService { search?: string; page?: number; pageSize?: number; + sortBy?: string; + sortDescending?: boolean; } = {}): Observable { let httpParams = new HttpParams(); @@ -50,6 +52,12 @@ export class IntegrationService { if (params.pageSize) { httpParams = httpParams.set('pageSize', params.pageSize.toString()); } + if (params.sortBy) { + httpParams = httpParams.set('sortBy', params.sortBy); + } + if (params.sortDescending !== undefined) { + httpParams = httpParams.set('sortDescending', params.sortDescending.toString()); + } return this.http.get(this.baseUrl, { params: httpParams }); } diff --git a/src/Web/StellaOps.Web/src/app/layout/search-assistant-host/search-assistant-host.component.ts b/src/Web/StellaOps.Web/src/app/layout/search-assistant-host/search-assistant-host.component.ts index 792c444d3..079938950 100644 --- a/src/Web/StellaOps.Web/src/app/layout/search-assistant-host/search-assistant-host.component.ts +++ b/src/Web/StellaOps.Web/src/app/layout/search-assistant-host/search-assistant-host.component.ts @@ -88,9 +88,10 @@ interface TrailBubble { x: number; y: number; size: number; delay: number; } - +
- @if (stella.drawerView() === 'chat') { + +
@if (chatVisible()) { } - } @else { - +
+ + +
- } +