24 lines
553 B
TypeScript
24 lines
553 B
TypeScript
import { Component } from '@angular/core';
|
|
import { I18nService } from 'jslib-common/abstractions/i18n.service';
|
|
|
|
@Component({
|
|
selector: 'app-nav',
|
|
templateUrl: 'nav.component.html',
|
|
})
|
|
export class NavComponent {
|
|
items: any[] = [
|
|
{
|
|
link: '/vault',
|
|
icon: 'fa-lock',
|
|
label: this.i18nService.translate('myVault'),
|
|
},
|
|
{
|
|
link: '/send',
|
|
icon: 'fa-paper-plane',
|
|
label: 'Send',
|
|
},
|
|
];
|
|
|
|
constructor(private i18nService: I18nService) {}
|
|
}
|