@@ -195,7 +198,7 @@ Grupos de clientes - + Planta @@ -219,10 +222,10 @@ Windows 10 Education 1803 64 bits Ubuntu 18.04.1 LTS 64 bits Ubuntu 16.04.4 LTS 64 bits - RESTO DE OPCIONES TBI + RESTO DE OPCIONES TBI - + Estado @@ -238,15 +241,15 @@ windows_session - + IP - + MAC - + @@ -259,13 +262,15 @@ - {{ result.name }} -

{{ result.type }}

+

{{ result.type !== 'client' ? result.type : '' }}

+

{{ result.type === 'client' ? result.ip : '' }}

+

{{ result.type === 'client' ? result.mac : '' }}

Unidades internas: {{ result.type !== 'client' ? result.children.length : 0 }}

diff --git a/ogWebconsole/src/app/components/groups/groups.component.ts b/ogWebconsole/src/app/components/groups/groups.component.ts index 547b3c2..b5ec84f 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.ts +++ b/ogWebconsole/src/app/components/groups/groups.component.ts @@ -290,7 +290,6 @@ export class GroupsComponent implements OnInit { if (this.selectedDetail && this.selectedDetail.type === 'classroom') { const dialogRef = this.dialog.open(ClassroomViewDialogComponent, { width: '90vw', - height: '90vh', data: { clients: this.clientsData } }); @@ -301,7 +300,7 @@ export class GroupsComponent implements OnInit { } applyFilter() { - this.dataService.getFilteredResults(this.selectedFilter1, this.selectedFilter2, this.filterName, this.page, this.itemsPerPage) + this.dataService.getFilteredResults(this.selectedFilter1, this.selectedFilter2, this.filterName, this.filterIP, this.filterMAC, this.page, this.itemsPerPage) .subscribe( response => { this.filteredResults = response.results;