mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-17 06:18:09 +00:00
Console updated
This commit is contained in:
@ -6,12 +6,12 @@
|
|||||||
<mat-icon>keyboard_arrow_down</mat-icon>
|
<mat-icon>keyboard_arrow_down</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<mat-menu #filterMenu="matMenu" xPosition="after">
|
<mat-menu #filterMenu="matMenu" xPosition="after">
|
||||||
<button mat-menu-item>all</button>
|
<button (click)="applyFilter('all')" mat-menu-item>all</button>
|
||||||
<button mat-menu-item>errors</button>
|
<button (click)="applyFilter('errors')" mat-menu-item>errors</button>
|
||||||
<button mat-menu-item>warnings</button>
|
<button (click)="applyFilter('warnings')" mat-menu-item>warnings</button>
|
||||||
<button mat-menu-item>info</button>
|
<button (click)="applyFilter('info')" mat-menu-item>info</button>
|
||||||
<button mat-menu-item>map updates</button>
|
<button (click)="applyFilter('map updates')" mat-menu-item>map updates</button>
|
||||||
<button mat-menu-item>server requests</button>
|
<button (click)="applyFilter('server requests')" mat-menu-item>server requests</button>
|
||||||
</mat-menu>
|
</mat-menu>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -116,7 +116,8 @@ export class LogConsoleComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
this.infoSubscription.unsubscribe();
|
this.infoSubscription.unsubscribe();
|
||||||
}
|
}
|
||||||
|
|
||||||
applyFilter() {
|
applyFilter(filter: string) {
|
||||||
|
this.selectedFilter = filter;
|
||||||
this.filteredEvents = this.getFilteredEvents();
|
this.filteredEvents = this.getFilteredEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user