mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
* Add jslib as a "real" dependency * Move more packages to jslib * Remove some unesessary dev dependencies. * Add back missing preinstall * Revert jslib bump * Fix jslib containing wrong types/node. * Bump jslib * Remove unessesary alias * Remove dummy module
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) {}
|
|
}
|