blob: ba66af4ffeb9caa0ca6e906d839a393c37597ed6 [file] [log] [blame]
import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { SchemasService } from './schemas.service';
import { Schema } from '../inventory/schema';
@Component( {
selector: 'netopeer-yang',
templateUrl: './yang.component.html',
styleUrls: ['./yang.component.scss']
} )
export class YANGComponent {
title = 'YANG Explorer';
test = null;
constructor( private schemasService: SchemasService,
private router: Router ) { }
addSchema() {
this.router.navigateByUrl( '/netopeer/inventory/schemas' );
}
}