{{ 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;