blob: da0fbcf54528a1c746d4743728ae802237d5ff85 [file] [log] [blame]
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector : 'netopeer-inventory',
templateUrl : './inventory.component.html',
styleUrls : ['./inventory.component.css']
})
export class InventoryComponent implements OnInit {
title = 'Inventory';
inventoryComponents = [
'devices',
'schemas'
];
constructor(private router: Router) { }
ngOnInit(): void {
/* redirect to default inventory */
this.router.navigateByUrl('/netopeer/inventory/devices')
}
}