mirror of
https://github.com/bitwarden/desktop
synced 2026-01-05 01:53:32 +00:00
22 lines
423 B
TypeScript
22 lines
423 B
TypeScript
import * as template from './ciphers.component.html';
|
|
|
|
import {
|
|
Component,
|
|
EventEmitter,
|
|
Input,
|
|
Output,
|
|
} from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-vault-ciphers',
|
|
template: template,
|
|
})
|
|
export class CiphersComponent {
|
|
@Input() ciphers: any[];
|
|
@Output() onCipherClicked = new EventEmitter<any>();
|
|
|
|
cipherClicked(cipher: any) {
|
|
this.onCipherClicked.emit(cipher);
|
|
}
|
|
}
|